diff --git a/THANKS.in b/THANKS.in index ec97e9c31..3019f4f4c 100644 --- a/THANKS.in +++ b/THANKS.in @@ -490,6 +490,7 @@ Richard J. Rauenzahn rrauenza@hairball.cup.hp.com Richard Neill rn214@hermes.cam.ac.uk Richard Sharman rsharman@magmacom.com Rick Sladkey jrs@world.std.com +Rick Stanley rstanley@rsiny.com Rik Faith faith@cs.unc.edu Risto Kankkunen kankkune@lingsoft.fi Rob Wortman wyrm@haell.com diff --git a/src/date.c b/src/date.c index 61d481827..6439d165a 100644 --- a/src/date.c +++ b/src/date.c @@ -235,6 +235,18 @@ After any flags comes an optional field width, as a decimal number;\n\ then an optional modifier, which is either\n\ E to use the locale's alternate representations if available, or\n\ O to use the locale's alternate numeric symbols if available.\n\ +"), stdout); + fputs (_("\ +\n\ +Examples:\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\ + $ TZ='America/Los_Angeles' date\n\ +\n\ +Show the local time for 9AM next Friday on the west coast of the US\n\ + $ date --date='TZ=\"America/Los_Angeles\" 09:00 next Fri'\n\ "), stdout); emit_ancillary_info (); }