summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2023-08-13 12:42:10 +0200
committerJonas Smedegaard <dr@jones.dk>2024-03-10 09:17:24 +0100
commit85a1577e7347c9dc856a2137319ba0e8175f5812 (patch)
tree8f424b272810f131c12bf5cb248bf488855d5cce /bin
parent9333ea6304607e727dbad5c11d047785155e1001 (diff)
log time scope
Diffstat (limited to 'bin')
-rwxr-xr-xbin/events2md.pl5
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 )