Skip to content

Normative: Temporal and Intl Era/Month Code stage 4#1044

Open
ptomato wants to merge 8 commits intotc39:mainfrom
ptomato:temporal-stage-4
Open

Normative: Temporal and Intl Era/Month Code stage 4#1044
ptomato wants to merge 8 commits intotc39:mainfrom
ptomato:temporal-stage-4

Conversation

@ptomato
Copy link
Contributor

@ptomato ptomato commented Feb 17, 2026

Stage 4 PR for Temporal and Intl Era/Month Code.

Note, the ecmarkup linter is going to fail until ECMA-262 merges Temporal and publishes a new biblio package.

Draft 2026-02-16: I intend to add the stage 4 PR for Intl Era/Month Code in this same PR later. For now, it is up for early feedback.

2026-02-20: Now includes the stage 4 text for Intl Era/Month Code.

@ptomato ptomato marked this pull request as draft February 17, 2026 00:39
@sffc
Copy link
Contributor

sffc commented Feb 19, 2026

I'm not certain that this has to move. Will discuss with ECMA-262
editors.
@ptomato ptomato marked this pull request as ready for review February 21, 2026 02:16
@ptomato ptomato changed the title Draft: Normative: Temporal stage 4 Normative: Temporal and Intl Era/Month Code stage 4 Feb 21, 2026
@ptomato
Copy link
Contributor Author

ptomato commented Feb 21, 2026

Updated with Intl Era/Month Code stage 4 text.

@ptomato
Copy link
Contributor Author

ptomato commented Feb 21, 2026

One open question here is whether to refactor NumberFormat to use the GetRoundingIncrementOption and GetRoundingModeOption AOs newly added to ECMA-262.

Especially roundingMode would be a bit of a refactor since we'd have to change things to use spec enums rather than strings. (Of course, this can all be done later.)

The discussion in the ECMA-262 editor call settled on not having the
same GetOption operation as in ECMA-402, so this can stay.
…ndar

See the commit named "(optional) Change approach for specifying
CanonicalizeCalendar" in tc39/ecma262#3759 -
pending discussion with the ECMA-262 editors.
@ptomato
Copy link
Contributor Author

ptomato commented Feb 25, 2026

I've pushed a small update, keeping all changes in separate commits so it's easy to see what changed. I've reinstated GetOption and CanonicalizeUValue based on discussions in this weeks ECMA-262 editors meeting, and I've incorporated the fix for an assertion failure tc39/proposal-intl-era-monthcode#122.

See the commit named "(review) Express epoch nanoseconds in mathematical
values" in tc39/ecma262#3759 - this change is
based on feedback from the ECMA-262 editors that epoch time should be
specified as mathematical values.
@ptomato
Copy link
Contributor Author

ptomato commented Mar 6, 2026

Pushed a new commit addressing feedback from @fabon-f (see tc39/proposal-intl-era-monthcode#124)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants