diff options
author | Karl Heuer <kwzh@gnu.org> | 1996-07-14 00:03:45 +0000 |
---|---|---|
committer | Karl Heuer <kwzh@gnu.org> | 1996-07-14 00:03:45 +0000 |
commit | d0b49d0be25b8595a219f00e9e356cae11e1db5b (patch) | |
tree | dd666d1cd58000fb7577ed511333fe1b4861ca3c | |
parent | 66171f3ef24a37ad2d2708ac7c7620e2e56d5093 (diff) | |
download | emacs-d0b49d0be25b8595a219f00e9e356cae11e1db5b.tar.gz |
(sys_gmtime): Don't assume year < 2000.
-rw-r--r-- | src/vmstime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vmstime.c b/src/vmstime.c index 4c4f2c0ae68..4eec5d0a4de 100644 --- a/src/vmstime.c +++ b/src/vmstime.c @@ -357,7 +357,7 @@ struct tm *sys_gmtime(time_t *clock) 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, |