Unverified Commit 39c9e67e authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

hafas-m: set second to 0 when a time is specified

parent 071db7ee
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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 {