Closed justingrant closed 3 years ago
There are several calendars that currently display the same era for both positive and negative years. Is this expected? If not, then what should be the era name for negative years, or should it be blank?
When the rules of a calendar authorises to display negative years, as it is for ISO 8601, the era
stands more or less for epoch. This is really the case for the Indian calendar. I believe that the Persian, ethiopaa, islamic, and hebrew calendars are not expected to display dates before their respective origins: the ethiopic epoch Amete Alem means "creation of world", the hebrew era is "Anno Mundi", "year of the world", and I guess the choice to use negative years was a sort of default choice.
If you write "-752 common era", or any similar phrase in other languages, everyone understand you are 752 years before year 0 of common era. Whereas if you write "752" without sign, you have to tell that you are counting backwards. The minus sign is transferred into the expression of era.
Hence the idea that, for those calendar that display years with negative signs, like indian
(and like iso8601
should do), displaying era
is not useful, unless the users wants to. Today, the organisation of ICU / CLDR is such that the DateTimeFormat API displays the era
part even if the user did not ask for it (except for gregory
and iso8601
). As mentionned, there is a proposal to solve this.
BTW, as already said, iso8601
should stick to the standard and should display negative years, not 1-y
years. For gregory
, as it is implemented as the proleptic Gregorian and not as the Julian, then Gregorian calendar with a fixed switching date, I would say the same in principle. However there is no real harm to keep it as today, with due explanations.
As of now, no Unicode calendar displays the historical dates of Europe before the Gregorian reform. But thanks to Temporal, this will change very soon.
I'm going to close this issue because it doesn't appear to be actionable.
There are several calendars that currently display the same era for both positive and negative years. Is this expected? If not, then what should be the era name for negative years, or should it be blank?
Examples: