Merge from 2_2 man page change.
This commit is contained in:
parent
0a8efdaa01
commit
5593b61532
@ -152,7 +152,7 @@ letter pairs are treated as their counterparts specified to the
|
||||
option.
|
||||
If the
|
||||
.Dq YY
|
||||
letter pair is in the range 69 to 99, the year is set to 1969 to 1999,
|
||||
letter pair is in the range 39 to 99, the year is set to 1939 to 1999,
|
||||
otherwise, the year is set in the 21st century.
|
||||
.Sh HISTORY
|
||||
A
|
||||
|
@ -262,7 +262,7 @@ stime_arg2(arg, year, tvp)
|
||||
t->tm_min = ATOI2(arg);
|
||||
if (year) {
|
||||
t->tm_year = ATOI2(arg);
|
||||
if (t->tm_year < 38) /* support 2000-2038 not 1902-1969 */
|
||||
if (t->tm_year < 39) /* support 2000-2038 not 1902-1969 */
|
||||
t->tm_year += 100;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user