Mercurial > emacs
diff src/vmstime.c @ 15666:2bf083a9ad6a
(sys_gmtime): Don't assume year < 2000.
| author | Karl Heuer <kwzh@gnu.org> |
|---|---|
| date | Sun, 14 Jul 1996 00:03:45 +0000 |
| parents | ee40177f6c68 |
| children |
line wrap: on
line diff
--- a/src/vmstime.c Sat Jul 13 18:51:11 1996 +0000 +++ b/src/vmstime.c Sun Jul 14 00:03:45 1996 +0000 @@ -357,7 +357,7 @@ gmt.tm_hour = tmp_vectime.hour; gmt.tm_mday = tmp_vectime.day; gmt.tm_mon = tmp_vectime.month - 1; - gmt.tm_year = tmp_vectime.year % 100; + gmt.tm_year = tmp_vectime.year - 1900; tmp_operation = LIB$K_DAY_OF_WEEK; status = LIB$CVT_FROM_INTERNAL_TIME(&tmp_operation,
