mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-15 23:05:49 +01:00
Merge from 2_2 man page change.
This commit is contained in:
parent
34c7ff495d
commit
25c4d00840
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=42310
@ -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