[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #60952] NSTimeZone fail to deal with tzfile v2+
From: |
Emmanuel Dreyfus |
Subject: |
[bug #60952] NSTimeZone fail to deal with tzfile v2+ |
Date: |
Thu, 29 Jul 2021 09:06:05 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Firefox/60.0 |
Follow-up Comment #10, bug #60952 (project gnustep):
A quick update, I got success with the graft of NetBSD libc's localtime.c in
NSTimeZone. I do not post a patch for now because the code is awful, but at
least it produces the correct result:
TZ Europe/Paris
1981-01-16 TZ offset = 3600 (expects 3600)
1981-08-16 TZ offset = 7200 (expects 7200)
2021-01-16 TZ offset = 3600 (expects 3600)
2021-08-16 TZ offset = 7200 (expects 7200)
While there it is tempting to toss the part of NSTimeZone that deals with
transitions, since it is handled by the imported code.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?60952>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [bug #60952] NSTimeZone fail to deal with tzfile v2+, (continued)
- [bug #60952] NSTimeZone fail to deal with tzfile v2+, Richard Frith-Macdonald, 2021/07/22
- [bug #60952] NSTimeZone fail to deal with tzfile v2+, Emmanuel Dreyfus, 2021/07/22
- [bug #60952] NSTimeZone fail to deal with tzfile v2+, Emmanuel Dreyfus, 2021/07/22
- [bug #60952] NSTimeZone fail to deal with tzfile v2+, Richard Frith-Macdonald, 2021/07/23
- [bug #60952] NSTimeZone fail to deal with tzfile v2+, Emmanuel Dreyfus, 2021/07/23
- [bug #60952] NSTimeZone fail to deal with tzfile v2+, Richard Frith-Macdonald, 2021/07/24
- [bug #60952] NSTimeZone fail to deal with tzfile v2+, Emmanuel Dreyfus, 2021/07/24
- [bug #60952] NSTimeZone fail to deal with tzfile v2+, Emmanuel Dreyfus, 2021/07/24
- [bug #60952] NSTimeZone fail to deal with tzfile v2+, Richard Frith-Macdonald, 2021/07/25
- [bug #60952] NSTimeZone fail to deal with tzfile v2+, Richard Frith-Macdonald, 2021/07/25
- [bug #60952] NSTimeZone fail to deal with tzfile v2+,
Emmanuel Dreyfus <=
- [bug #60952] NSTimeZone fail to deal with tzfile v2+, Richard Frith-Macdonald, 2021/07/30