Jc3s5h added a comment.

I note thiemowmde's patch for review at Feb 6, 16:32 says what we are doing now 
is:

//* URI identifying the calendar model. The actual time value should be in this 
calendar model,

- but note that there is nothing this class can do to enforce this convention.//

That seems to be more-or-less true, but some entries follow the documentation 
and put the date in the Gregorian calendar no matter what the date.

Using the convention stated above may mislead data users, since, so far, the 
date is stored in the ISO 8601 format (with certain errors). The format itself 
is a declaration that it is a Gregorian date. There is no standard that 
resembles ISO 8601 but which supports Julian dates, so a standard would have to 
be created.

Storing the date in the calendar indicated the URI identifying the calendar 
model creates a many-to-many conversion problem, if Wikidata ever supports 
calendars in addition to Gregorian and Julian. Data users will have to be able 
to convert from any Wikidata supported calendar to any calender the user 
desires. This is much more difficult than being able to convert from the 
Gregorian calendar to the calendar of the user's choice.

Note that, in effect, the URI identifying the calendar model really only gives 
the name of the calender, not the format in which the date is stored. It 
wouldn't be too hard to extend ISO 8601 to support Julian calendar dates 
(although it would be hard to notify everyone we have done so). But that format 
would totally break down with some of  the calendars out there that we might 
support. For example, Dershowitz and Reingold in Calendrical Calculations 3rd 
ed. describe how to convert to/from Julian Day, Modified Julian Day, Julian 
calendar, Egyptian calendar, Armenian calendar, Coptic calendar, and 24 more.


TASK DETAIL
  https://phabricator.wikimedia.org/T88438

REPLY HANDLER ACTIONS
  Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign 
<username>.

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: thiemowmde, Jc3s5h
Cc: Jc3s5h, JulesWinnfield-hu, thiemowmde, daniel, Aklapper, Lydia_Pintscher, 
Wikidata-bugs, aude



_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to