diff options
author | Jonas Smedegaard <dr@jones.dk> | 2023-10-08 09:54:04 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2023-10-08 09:54:04 +0200 |
commit | ad194b19709a48466b28b5a234e555dfa53a6f86 (patch) | |
tree | 3d03e14702046483f77fe2b82c38219fd57fbc40 | |
parent | f11c569e9dde3cfa26159d553b31d773234d8a5c (diff) |
render 6 months (not 1 month)
-rwxr-xr-x | bin/events2md.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/events2md.pl b/bin/events2md.pl index c694d9a..afef569 100755 --- a/bin/events2md.pl +++ b/bin/events2md.pl @@ -141,7 +141,7 @@ if ( $log->is_trace ) { # serialize calendar events $log->debug('serialize calendar events...'); my $start = DateTime->now; -my $end = $start->clone->add( months => 1 ); +my $end = $start->clone->add( months => 6 ); my $parser = iCal::Parser->new( start => $start, end => $end ); my $events = $parser->parse_strings( $calendar->as_string ); if ( $log->is_trace ) { |