You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NSTimeZone.swift:266 :: let tz = CFTimeZoneCreateWithName(nil, name._cfObject, true)!
I suspect that CFTimeZoneCreateWithName returned nil. Assuming that name is not GMT±\d\d, this would fall back to the Windows specific path.
The path for that involves looking up the abbreviated timezone in to the Windows zone. Prior to 2973067 this would consult an external table encoded into a plist that was generated by explicitly fetching the CLDR for the release and running the associated XSLT over the data to generate the data. Failing that, we would lookup the given Olson name in the lookup in the tables, which may now be out of sync and therefore fail to find an entry. The result of the failed lookups would be that we now return NULL where we might have previously returned a value.
This might just be that the encoded table is out of sync with the current ICU that we build Foundation with. However, the tool is also designed to generate the plist and not the C array, so simply updating the table is going to be more involved.
After updating to a recent swift toolchain, we've noticed a new crash in our app using the following
DateFormatter
The text was updated successfully, but these errors were encountered: