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:
committed by
Paul Eggert
parent
0a22031b69
commit
e8ffefa564
10
date.c
10
date.c
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user