comparison src/editfns.c @ 16073:9aa821b11ac1

(Fencode_time) [_NEXT_SOURCE]: Use ZONE, not ABSZONE.
author Richard M. Stallman <rms@gnu.org>
date Mon, 02 Sep 1996 17:28:10 +0000
parents 855c8d8ba0f0
children 7d48fc0d8a61
comparison
equal deleted inserted replaced
16072:3c57dbbf9d95 16073:9aa821b11ac1
767 sprintf (tzbuf, "XXX%s%d:%02d:%02d", "-" + (XINT (zone) < 0), 767 sprintf (tzbuf, "XXX%s%d:%02d:%02d", "-" + (XINT (zone) < 0),
768 abszone / (60*60), (abszone/60) % 60, abszone % 60); 768 abszone / (60*60), (abszone/60) % 60, abszone % 60);
769 tzstring = tzbuf; 769 tzstring = tzbuf;
770 #ifdef _NEXT_SOURCE 770 #ifdef _NEXT_SOURCE
771 /* On NEXTSTEP, timezone environment var is ignored. */ 771 /* On NEXTSTEP, timezone environment var is ignored. */
772 tm.tm_gmtoff = -abszone; 772 tm.tm_gmtoff = XINT (zone);
773 #endif 773 #endif
774 } 774 }
775 else 775 else
776 error ("Invalid time zone specification"); 776 error ("Invalid time zone specification");
777 777