summaryrefslogtreecommitdiff
path: root/bin/hafas-m
diff options
context:
space:
mode:
Diffstat (limited to 'bin/hafas-m')
-rwxr-xr-xbin/hafas-m3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/hafas-m b/bin/hafas-m
index f0e0299..a33c5dc 100755
--- a/bin/hafas-m
+++ b/bin/hafas-m
@@ -84,7 +84,8 @@ if ( $date or $time ) {
if ( $time =~ m{ ^ (?<hour> \d{1,2} ) : (?<minute> \d{1,2} ) $ }x ) {
$dt->set(
hour => $+{hour},
- minute => $+{minute}
+ minute => $+{minute},
+ second => 0,
);
}
else {