summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdoc/mdate-sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/mdate-sh b/doc/mdate-sh
index 4d38433a9..4f3820e99 100755
--- a/doc/mdate-sh
+++ b/doc/mdate-sh
@@ -63,7 +63,7 @@ day=$2
# Here we have to deal with the problem that the ls output gives either
# the time of day or the year.
case $3 in
- *:*) set `date`; year=$7
+ *:*) set `date`; year=$6
case $2 in
Jan) nummonthtod=1;;
Feb) nummonthtod=2;;