ecma402 icon indicating copy to clipboard operation
ecma402 copied to clipboard

Changes to LocalTZA and DefaultTimeZone in ECMA-262

Open ptomato opened this issue 3 years ago • 0 comments

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.

ptomato avatar May 20 '22 01:05 ptomato