bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #60952] NSTimeZone fail to deal with tzfile v2+


From: Richard Frith-Macdonald
Subject: [bug #60952] NSTimeZone fail to deal with tzfile v2+
Date: Sun, 25 Jul 2021 02:58:45 -0400 (EDT)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36

Follow-up Comment #9, bug #60952 (project gnustep):

> 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.

I think this is the best approach since the timeZoneDetailForDate method is
actually pretty much obsolete: it was removed from Apple's API many years ago.
 In GNUstep we aim to retain backward compatibility for a very long time
(which is why the method is still available), but this method will never have
returned a meaningful result for these future dates anyway, so your proposed
change does not break anything.

It seems a good idea to me.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?60952>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]