summaryrefslogtreecommitdiff
path: root/doc/mdate-sh
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-01-20 12:18:50 +0000
committerJim Meyering <jim@meyering.net>1996-01-20 12:18:50 +0000
commite30230223c4bb595b01d483841be26975d8f6e22 (patch)
treecfc53abd2499f98920b3e5a597c1295aedb52f3c /doc/mdate-sh
parent884e63790c82c044fe61d30d56047eebcb4c2106 (diff)
downloadcoreutils-e30230223c4bb595b01d483841be26975d8f6e22.tar.xz
Year is 6th field, not 7th.
Diffstat (limited to 'doc/mdate-sh')
-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;;