Support retrieval of normalize IANA names, including aliases #4031
Labels
C-time-zone
Component: Time Zones
S-small
Size: One afternoon (small bug fix or enhancement)
U-temporal
User: Temporal
Milestone
#4024 allows for accessing the canonical IANA identifier for a given time zone. However, it does not allow case normalization of non-canonical time zones. For example, Temporal requires that "asia/calcutta" be echoed back to the user as "Asia/Calcutta".
To implement this, add another data key that contains the normalized strings for all IANA names that are non-canonical. Sort them by their lowercase value, then look them up with a binary search.
Expose this as an API such as
The text was updated successfully, but these errors were encountered: