diff options
-rwxr-xr-x | bin/events2md.pl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/events2md.pl b/bin/events2md.pl index 751306f..14524b1 100755 --- a/bin/events2md.pl +++ b/bin/events2md.pl @@ -125,8 +125,9 @@ if ( $log->is_trace ) { # serialize calendar events $log->debug('serialize calendar events...'); -my $start = DateTime->now; -my $end = $start->clone->add( months => 6 ); +my $start = DateTime->now; +my $end = $start->clone->add( months => 6 ); +$log->infof( 'will pick events between %s and %s', $start, $end ); my $span = DateTime::Span->from_datetimes( start => $start, end => $end ); my @events = sort { DateTime->compare( $a->start, $b->start ) |