Merge from 2_2 man page change.

This commit is contained in:
Daniel O'Callaghan 1999-01-05 10:13:54 +00:00
parent 34c7ff495d
commit 25c4d00840
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=42310
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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;
}