summaryrefslogtreecommitdiff
path: root/src/date.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1994-08-19 13:36:37 +0000
committerJim Meyering <jim@meyering.net>1994-08-19 13:36:37 +0000
commit86ba2b2bdf720a680c520831ab9f0c7808363091 (patch)
tree41212b3f465d17a51d53499c57550770adf31224 /src/date.c
parente50688802c032778d6711561807125b7841029b2 (diff)
downloadcoreutils-86ba2b2bdf720a680c520831ab9f0c7808363091.tar.xz
.
Diffstat (limited to 'src/date.c')
-rw-r--r--src/date.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/date.c b/src/date.c
index b100a37ed..4e6f99744 100644
--- a/src/date.c
+++ b/src/date.c
@@ -93,6 +93,7 @@ static struct option const long_options[] =
{"help", no_argument, &show_help, 1},
{"set", required_argument, NULL, 's'},
{"uct", no_argument, NULL, 'u'},
+ {"utc", no_argument, NULL, 'u'},
{"universal", no_argument, NULL, 'u'},
{"version", no_argument, &show_version, 1},
{NULL, 0, NULL, 0}
@@ -190,7 +191,7 @@ show_date (format, when)
doesn't support %e, but POSIX requires it. If you don't use
a GNU strftime, make sure yours supports %e. */
format = (universal_time
- ? "%a %b %e %H:%M:%S GMT %Y"
+ ? "%a %b %e %H:%M:%S UTC %Y"
: "%a %b %e %H:%M:%S %Z %Y");
}
else if (*format == '\0')
@@ -225,7 +226,7 @@ usage (status)
\n\
-d, --date=STRING display time described by STRING, not `now'\n\
-s, --set=STRING set time described by STRING\n\
- -u, --uct, --universal print or set Universal Coordinated Time\n\
+ -u, --utc, --universal print or set Coordinated Universal Time\n\
--help display this help and exit\n\
--version output version information and exit\n\
");