diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/editfns.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/editfns.c b/src/editfns.c index 164ee9c6e80..7e9a798c4e2 100644 --- a/src/editfns.c +++ b/src/editfns.c | |||
| @@ -765,6 +765,10 @@ If you want them to stand for years in this century, you must do that yourself." | |||
| 765 | sprintf (tzbuf, "XXX%s%d:%02d:%02d", "-" + (XINT (zone) < 0), | 765 | sprintf (tzbuf, "XXX%s%d:%02d:%02d", "-" + (XINT (zone) < 0), |
| 766 | abszone / (60*60), (abszone/60) % 60, abszone % 60); | 766 | abszone / (60*60), (abszone/60) % 60, abszone % 60); |
| 767 | tzstring = tzbuf; | 767 | tzstring = tzbuf; |
| 768 | #ifdef _NEXT_SOURCE | ||
| 769 | /* On NEXTSTEP, timezone environment var is ignored. */ | ||
| 770 | tm.tm_gmtoff = -abszone; | ||
| 771 | #endif | ||
| 768 | } | 772 | } |
| 769 | else | 773 | else |
| 770 | error ("Invalid time zone specification"); | 774 | error ("Invalid time zone specification"); |