4 time_t _d_gnu_cbridge_tza()
10 p_tm
= localtime(&t
); /* this will set timezone */
12 #if defined(HAVE_TIMEZONE)
14 #elif defined(HAVE__TIMEZONE)
16 #elif HAVE_TM_GMTOFF_AND_ZONE
17 /* std.date expects this value to not include
18 the daylight saving time offset. */
20 /* std.date assumes daylight saving time is a one hour offset,
21 so no attempt is made determine the correct offset */
22 return p_tm
->tm_gmtoff
- 3600;
23 return p_tm
->tm_gmtoff
;