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
Temporal.TimeZone.from("pst8pdt") is still not accepted even though new Temporal.TimeZone("pst8pdt") works, but that's consistent with how new Temporal.TimeZone("etc/gmt+1") is treated differently than Temporal.TimeZone.from("etc/gmt+1").
This is surprising to me, I'd expect them to have the same case-sensitivity, but if there were any difference I'd expect from() to be more lenient.
This is mostly taken care of by CanonicalizeTimeZoneName, the only change is that we have to make IANA legacy names like "PST8PDT" valid case-insensitively, so that e.g. 2022-08-30T14:27[pst8pdt] is accepted.
For calendars we currently don't accept anything but lowercase, but that seems out of line with what ECMA-402 currently does. e.g. both of these are fine:
From #2292:
This is surprising to me, I'd expect them to have the same case-sensitivity, but if there were any difference I'd expect from() to be more lenient.
Check if this is the case with calendars as well.
cc @anba @gibson042
The text was updated successfully, but these errors were encountered: