[bug #60952] NSTimeZone fail to deal with tzfile v2+
Emmanuel Dreyfus <[email protected]> Fri, 23 Jul 2021 20:52:46 -0400 (EDT)
| Newsgroups | gmane.comp.lib.gnustep.bugs |
|---|---|
| Message-ID | <[email protected]> |
Follow-up Comment #4, bug #60952 (project gnustep):
[comment #3 comment #3:]
> Unfortunately, we don't have existing code to parse/implement the tzstring
extension;
At least on NetBSD, tzalloc() is in public domain. It does all the tzstring
parsing, in tzparse(), see here:
http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libc/timea/localtime.c?rev=1.123
It is used by zdump, also in public domain:
http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libc/time/zdump.c?rev=1.53
Would it be acceptable to include that code?
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?60952>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/