summaryrefslogtreecommitdiff
path: root/lib/mdate-sh
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mdate-sh')
-rwxr-xr-xlib/mdate-sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/mdate-sh b/lib/mdate-sh
index a60e7d71b..4b2efdf91 100755
--- a/lib/mdate-sh
+++ b/lib/mdate-sh
@@ -148,9 +148,9 @@ case $2 in
Dec) month=December; nummonth=12;;
esac
-case $# in
- 4) day=$1;;
- *) day=$3; shift;;
+case $3 in
+ ???*) day=$1;;
+ *) day=$3; shift;;
esac
# Here we have to deal with the problem that the ls output gives either