[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: |
Sat, 24 Jul 2021 21:21:40 -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 #7, bug #60952 (project gnustep):
[comment #5 comment #5:]
> I think using public domain code is fine, as long as we include comments
around it to make it clear that it *is* public domain (and where it came
from).
How do you want v2+ TZstring-based transitions to be implemented?
We can generate transitions based on the TZstring up to a given date in the
future. The advantage is that there is no need to change the code that uses
chop to find a transition. But it will waste memory
The other approach is adding a wrapper function around chop() calls to check
is when is after the last transition, and on in this case give the answer
based on the TZstring. But if we do that, the date returned by
timeZoneDetailForDate() will be of little sense to a consumer unaware of v2+
TZfile.
_______________________________________________________
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+, anonymous, 2021/07/21
- [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 <=
- [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, 2021/07/29
- [bug #60952] NSTimeZone fail to deal with tzfile v2+, Richard Frith-Macdonald, 2021/07/30