ecma402
ecma402 copied to clipboard
Changes to LocalTZA and DefaultTimeZone in ECMA-262
This is a heads up about https://github.com/tc39/ecma262/pull/2781
If that is accepted, the operation LocalTZA will be removed from ECMA-262, and DefaultTimeZone will be added. That would require changes in ECMA-402, which should be editorial. The use of LocalTZA in ToLocalTime can be rewritten to use GetIANATimeZoneOffsetNanoseconds which also neatly cleans up the handwavy "where the local time zone is replaced with timezone timeZone" language. DefaultTimeZone can be noted to override the ECMA-262 version.
If desired, I can prepare a PR with the needed changes.