summaryrefslogtreecommitdiff
path: root/src/date.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2002-01-14 09:56:28 +0000
committerJim Meyering <jim@meyering.net>2002-01-14 09:56:28 +0000
commit84f8fd1af67ba29a2ca35d601245d0239d44053e (patch)
tree2befbb83204d779ac29b2a8b010ed0215568d731 /src/date.c
parent15e112e97bd0485072022a26e112c155260bb557 (diff)
downloadcoreutils-84f8fd1af67ba29a2ca35d601245d0239d44053e.tar.xz
Comment fixes to bring us up to date with respect to POSIX 1003.1-2001.
In particular, POSIX.2 is now obsolete.
Diffstat (limited to 'src/date.c')
-rw-r--r--src/date.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/date.c b/src/date.c
index 1c7506b5c..e6e807f03 100644
--- a/src/date.c
+++ b/src/date.c
@@ -327,7 +327,7 @@ main (int argc, char **argv)
set_date = 1;
break;
case 'u':
- /* POSIX.2 says that `date -u' is equivalent to setting the TZ
+ /* POSIX says that `date -u' is equivalent to setting the TZ
environment variable, so this option should do nothing other
than setting TZ. */
if (putenv ("TZ=UTC0") != 0)
@@ -495,7 +495,7 @@ show_date (const char *format, time_t when)
char *date_fmt = DATE_FMT_LANGINFO ();
/* Do not wrap the following literal format string with _(...).
For example, suppose LC_ALL is unset, LC_TIME="POSIX",
- and LANG="ko_KR". In that case, POSIX.2 says that LC_TIME
+ and LANG="ko_KR". In that case, POSIX says that LC_TIME
determines the format and contents of date and time strings
written by date, which means "date" must generate output
using the POSIX locale; but adding _() would cause "date"