Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Which built-in calendars (suggestion) #1128

Closed
Louis-Aime opened this issue Nov 5, 2020 · 1 comment
Closed

Which built-in calendars (suggestion) #1128

Louis-Aime opened this issue Nov 5, 2020 · 1 comment

Comments

@Louis-Aime
Copy link

A built-in calendar generally provides a structure of names for the dates elements, and a reckoning system that enables conversion to and from ISO8601. I suppose that Temporal.Calendar essentially aims at enabling small variants like shifting by one or two days the Hijri calendar, setting an alternate origin to the gregorian calendar like roc or buddhist.

May I then suggest to add the julian calendar to the list of built-in calendars. Although it is not officially used to today, it remains the reference calendar for many communities. The Julian calendar reckoning system is still used by other communities, e.g. the Berbers.

With the julian calendar and the gregory, it is rather easy to create all kinds of western calendars, that differ by the date of switching to the Gregorian reckoning system. Today, there is no way to represent properly any historical date in Western Europe before 1582. They would be custom-made from built-in Julian and Gregorian.

Other candidates for built-in calendars are a very little number of algorithmic calendars. They may be incorporated at any time.

  • French Republican calendar, although there are still discussions about the reckoning system. This calendar was the official calendar in France from late 1793 until 1806.
  • Maya
  • If I may, the Milesian calendar, for which the open source reckoning system and data for cldr are available.
@ptomato
Copy link
Collaborator

ptomato commented Nov 6, 2020

Duplicate of #541 — you could advocate for adding more there, but my personal opinion is that environments ought to have neither more nor fewer built-in calendars than the ones already built-in to the Intl object. The Temporal specification itself describes only the iso8601 calendar.

@ptomato ptomato closed this as completed Nov 6, 2020
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

No branches or pull requests

2 participants