]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
date: clarify the Epoch
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 24 Jul 2020 20:33:09 +0000 (13:33 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 24 Jul 2020 20:33:40 +0000 (13:33 -0700)
* src/date.c (usage): Mention the Epoch under %s for clarity,
and capitalize.

src/date.c

index 67bf9bb4b302ef8ee07d9df6f2ab8eee72eb7a8c..c33fa3fc5e3cdd49c1310220954fe7e96fd64761 100644 (file)
@@ -218,7 +218,7 @@ FORMAT controls the output.  Interpreted sequences are:\n\
   %q   quarter of year (1..4)\n\
   %r   locale's 12-hour clock time (e.g., 11:11:04 PM)\n\
   %R   24-hour hour and minute; same as %H:%M\n\
-  %s   seconds since 1970-01-01 00:00:00 UTC\n\
+  %s   seconds since the Epoch (1970-01-01 00:00 UTC)\n\
 "), stdout);
       fputs (_("\
   %S   second (00..60)\n\
@@ -267,7 +267,7 @@ O to use the locale's alternate numeric symbols if available.\n\
       fputs (_("\
 \n\
 Examples:\n\
-Convert seconds since the epoch (1970-01-01 UTC) to a date\n\
+Convert seconds since the Epoch (1970-01-01 UTC) to a date\n\
   $ date --date='@2147483647'\n\
 \n\
 Show the time on the west coast of the US (use tzselect(1) to find TZ)\n\