summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/efa3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/efa b/bin/efa
index 8af3568..93c1d9c 100755
--- a/bin/efa
+++ b/bin/efa
@@ -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