Skip to content

Normative: Indicate ISO date 1868-10-23 as start of Meiji era#102

Merged
ben-allen merged 4 commits intotc39:mainfrom
ben-allen:meiji-switchover-date-issue-86
Jan 21, 2026
Merged

Normative: Indicate ISO date 1868-10-23 as start of Meiji era#102
ben-allen merged 4 commits intotc39:mainfrom
ben-allen:meiji-switchover-date-issue-86

Conversation

@ben-allen
Copy link
Collaborator

fix #86

Previously the spec listed just the ISO year 1868 as start of the Meiji era. This change explicitly states that the Meiji era started on 1868-10-23.

Copy link
Collaborator

@ptomato ptomato left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. This correctly implements the conclusion from TG2.

@ben-allen ben-allen force-pushed the meiji-switchover-date-issue-86 branch from 8a32d13 to 5373330 Compare December 15, 2025 20:50
@ben-allen ben-allen changed the title Editorial: Indicate ISO date 1868-10-23 as start of Meiji era Normative: Indicate ISO date 1868-10-23 as start of Meiji era Jan 13, 2026
@ptomato ptomato added this to the Stage 3 milestone Jan 19, 2026
@ben-allen ben-allen force-pushed the meiji-switchover-date-issue-86 branch from 5373330 to 5177299 Compare January 20, 2026 00:40
Copy link
Collaborator

@ptomato ptomato left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This has been updated to implement the extra conclusion from the January TG2 meeting.

Copy link
Collaborator

@ptomato ptomato left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually now that I read it a couple more times — I think we still need to say the Meiji era started 1868-10-23, and that 1873 is 6 Meiji, otherwise it's still confusing.

@ptomato
Copy link
Collaborator

ptomato commented Jan 20, 2026

How about this?

"[...] For dates up to and including ISO date 1872-12-31, years and eras identical to "gregory" are used. For later dates, the eras and ranges defined by the Japanese government are used. Note that ISO year 1873 is the 6th year of the Meiji period (starting on ISO date 1868-10-23), during which calendar reforms took place. The arithmetic year is identical to "gregory"."

@ptomato
Copy link
Collaborator

ptomato commented Jan 20, 2026

I also realized we have to update Table 2 to make the minimum era year 6

ptomato added a commit to ptomato/test262 that referenced this pull request Jan 20, 2026
See tc39/proposal-intl-era-monthcode#102
The historical regnal period starts on 1868-10-23 but at that point the
lunisolar calendar was still in use. On 1873-01-01 we start using the
era code "meiji", before that we use eras and era years identical to
the "gregory" calendar.
@ptomato
Copy link
Collaborator

ptomato commented Jan 20, 2026

Tests are in tc39/test262#4877

@ben-allen ben-allen force-pushed the meiji-switchover-date-issue-86 branch from a65c817 to 8f29b74 Compare January 20, 2026 02:10
@ben-allen ben-allen force-pushed the meiji-switchover-date-issue-86 branch from 8f29b74 to ee53291 Compare January 21, 2026 18:16
@ben-allen
Copy link
Collaborator Author

Approved by TG1 20 January 2026

@ben-allen ben-allen merged commit 650c95c into tc39:main Jan 21, 2026
Ms2ger pushed a commit to ptomato/test262 that referenced this pull request Jan 22, 2026
See tc39/proposal-intl-era-monthcode#102
The historical regnal period starts on 1868-10-23 but at that point the
lunisolar calendar was still in use. On 1873-01-01 we start using the
era code "meiji", before that we use eras and era years identical to
the "gregory" calendar.
Ms2ger pushed a commit to tc39/test262 that referenced this pull request Jan 22, 2026
See tc39/proposal-intl-era-monthcode#102
The historical regnal period starts on 1868-10-23 but at that point the
lunisolar calendar was still in use. On 1873-01-01 we start using the
era code "meiji", before that we use eras and era years identical to
the "gregory" calendar.
Manishearth added a commit to unicode-org/icu4x that referenced this pull request Jan 28, 2026
See tc39/proposal-intl-era-monthcode#102

We already have a note about this in our docs, but the calendar
switchover happened in Meiji 6, which means dates specified as Meiji 1-5
are unambiguously lunisolar. We're already liberal in accepting eraYears
that are not in range of the era, which means we can't (and shouldn't)
do much about people plugging dates specified as Meiji 1-5, but we can
avoid producing such dates.

Matching Temporal seems like the right call to me here.

If matching Temporal here is not desired this can in theory be patched
over in temporal_rs and Firefox (@hsivonen), but I feel convinced by the
Temporal discussions.
lando-prod-mozilla bot pushed a commit to mozilla-firefox/firefox that referenced this pull request Feb 4, 2026
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.

Normative: Be explicit about the Gregorian to Meiji switchover month and day in the Japanese calendar

3 participants