View | Details | Raw Unified | Return to bug 280922
Collapse All | Expand All

(-)./lib/libc/stdtime/strftime.c (-1 / +5 lines)
Lines 302-308 Link Here
302
					time_t		mkt;
302
					time_t		mkt;
303
303
304
					tm = *t;
304
					tm = *t;
305
					mkt = timeoff(&tm, t->tm_gmtoff);
305
					if (t->tm_gmtoff || t->tm_zone) {
306
						mkt = timeoff(&tm, t->tm_gmtoff);
307
					} else {
308
						mkt = mktime(&tm);
309
					}
306
					if (TYPE_SIGNED(time_t))
310
					if (TYPE_SIGNED(time_t))
307
						(void) sprintf_l(buf, loc, "%ld",
311
						(void) sprintf_l(buf, loc, "%ld",
308
							(long) mkt);
312
							(long) mkt);

Return to bug 280922