1
0
mirror of https://frontier.innolan.net/rainlance/amiga-tz.git synced 2025-11-21 19:59:27 +00:00

Eggert mods

SCCS-file: date.c
SCCS-SID: 7.34
This commit is contained in:
Arthur David Olson
1997-12-29 09:31:36 -05:00
committed by Paul Eggert
parent 25d59c752c
commit c4df15977c

6
date.c
View File

@ -123,7 +123,7 @@ char * argv[];
switch (ch) { switch (ch) {
default: default:
usage(); usage();
case 'u': /* do it in GMT */ case 'u': /* do it in UTC */
case 'c': case 'c':
dogmt(); dogmt();
break; break;
@ -143,7 +143,7 @@ char * argv[];
wildinput(_("-t value"), optarg, wildinput(_("-t value"), optarg,
_("must be a non-negative number")); _("must be a non-negative number"));
break; break;
case 't': /* minutes west of GMT */ case 't': /* minutes west of UTC */
if (tflag) { if (tflag) {
(void) fprintf(stderr, (void) fprintf(stderr,
_("date: error: multiple -t's used")); _("date: error: multiple -t's used"));
@ -222,7 +222,7 @@ _("date: error: multiple values in command line\n"));
** TZ=America/New_York date 8712311859.60 ** TZ=America/New_York date 8712311859.60
** when the leap second was inserted.) ** when the leap second was inserted.)
** The normal check won't work since ** The normal check won't work since
** the given time is valid in GMT. ** the given time is valid in UTC.
*/ */
if (atoi(cp + 1) >= SECSPERMIN) if (atoi(cp + 1) >= SECSPERMIN)
wildinput(_("time"), value, wildinput(_("time"), value,