Mercurial > emacs
changeset 15779:5c12b862950f
(Fencode_time): Assign to tm.tm_gmtoff for NEXTSTEP,
since timezone environment variable is ignored.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Wed, 24 Jul 1996 04:21:31 +0000 |
parents | c96cee4f8be8 |
children | 0a03d2b02ba1 |
files | src/editfns.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/editfns.c Wed Jul 24 03:43:56 1996 +0000 +++ b/src/editfns.c Wed Jul 24 04:21:31 1996 +0000 @@ -765,6 +765,10 @@ sprintf (tzbuf, "XXX%s%d:%02d:%02d", "-" + (XINT (zone) < 0), abszone / (60*60), (abszone/60) % 60, abszone % 60); tzstring = tzbuf; +#ifdef _NEXT_SOURCE + /* On NEXTSTEP, timezone environment var is ignored. */ + tm.tm_gmtoff = -abszone; +#endif } else error ("Invalid time zone specification");