diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2009-05-25 15:54:40 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2009-05-25 15:54:40 +0200 |
commit | 4683eebc624a8a1be89d6216a3f39b35a8bce943 (patch) | |
tree | 4fb2b8c3057d385fb0933fda0e1da238065a1105 /bin/efa | |
parent | 17a2ac7859c156257ad424651f08a9a1c174524c (diff) |
efa: --date: Make the year optional
Diffstat (limited to 'bin/efa')
-rwxr-xr-x | bin/efa | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |