1
0
mirror of https://frontier.innolan.net/rainlance/amiga-tz.git synced 2026-03-21 07:37:30 +00:00

reordered

SCCS-file: date.c
SCCS-SID: 4.12
This commit is contained in:
Arthur David Olson
1989-04-05 03:41:05 -04:00
committed by Paul Eggert
parent 0a22031b69
commit e8ffefa564

10
date.c
View File

@ -178,9 +178,15 @@ char * argv[];
}
}
if (value != NULL) {
t = convert(value, (dousg = FALSE), now);
/*
** This order ensures that "reasonable" twelve-digit inputs
** (such as 120203042006) won't be misinterpreted
** even if time_t's range all the way back to the thirteenth
** century. Do not change the order.
*/
t = convert(value, (dousg = TRUE), now);
if (t == -1)
t = convert(value, (dousg = TRUE), now);
t = convert(value, (dousg = FALSE), now);
if (t == -1) {
/*
** Out of range values,