From ad194b19709a48466b28b5a234e555dfa53a6f86 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Sun, 8 Oct 2023 09:54:04 +0200 Subject: render 6 months (not 1 month) --- bin/events2md.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) { -- cgit v1.2.3