|
| From: | Andreas Weber |
| Subject: | [Octave-bug-tracker] [bug #52256] Time zones are not handled correctly |
| Date: | Fri, 20 Oct 2017 13:23:53 -0400 (EDT) |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36 |
Follow-up Comment #1, bug #52256 (project octave):
If you check the return value of "octave_config_info.features.TM_GMTOFF" on
windows I guess you are seeing "ans = 0" so gmtoff is not supported.
>From the manpage for gmtime:
The glibc version of struct tm has additional fields
long tm_gmtoff; /* Seconds east of UTC */
const char *tm_zone; /* Timezone abbreviation */
defined when _BSD_SOURCE was set before including <time.h>. This is a BSD
extension, present in 4.3BSD-Reno.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?52256>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |