summaryrefslogtreecommitdiff
path: root/bin/efa
diff options
context:
space:
mode:
Diffstat (limited to 'bin/efa')
-rwxr-xr-xbin/efa2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/efa b/bin/efa
index 72d6ed8..3ce7da9 100755
--- a/bin/efa
+++ b/bin/efa
@@ -288,7 +288,7 @@ if ($time) {
@post{'itdTimeHour', 'itdTimeMinute'} = split(/:/, $time);
}
if ($date) {
- if ($date !~ /^ [0-3]? \d \. [01]? \d (?: \. \d{4} )? /x) {
+ if ($date !~ /^ [0-3]? \d \. [01]? \d (?: \. \d{4} )? $/x) {
die("Invalid argument: Usage: --date DD.MM[.YYYY]\n");
}
@post{'itdDateDay', 'itdDateMonth', 'itdDateYear'} = split(/\./, $date);