Commit 4683eebc authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

efa: --date: Make the year optional

parent 17a2ac78
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -192,6 +192,7 @@ if ($time) {
}
if ($date) {
	@post{'itdDateDay','itdDateMonth','itdDateYear'} = split(/\./, $date);
	$post{itdDateYear} //= (localtime(time))[5] + 1900;
}

if (@exclude) {
@@ -358,7 +359,7 @@ Journey start time

Journey end time (overrides --time/--depart)

=item B<--date> I<dd>.I<mm>.I<yyyy>
=item B<--date> I<dd>.I<mm>.[I<yyyy>]

Journey date