Jc3s5h added a comment.

After the revision of the task description around 1700 UT on Aug 11, I see that the if the date was a Julian calendar date, WQS would convert the Gregorian date received from the RDF to the equivalent Julian date, and not mention in the display which calendar this is. I seriously question the decision of the UI authors to make fussy decisions about when to display the calendar and when not to. I think it would be better, and more resilient to any changes in this area in the UI, to always display the calendar.

On a related note, if you attempt to adjust the display according to the precision, you could get into trouble if your not careful. If the date was entered as 4 January 500 BCE Julian calendar, century precision, it would be displayed as 6. century BCE. When RDF converts that to 30 December 501 BCE its now in the 6th century BCE, so if you try to match the display of dates with precision worse than day, you must do the back-conversion to Julian before you try to decide how to display it.

Finally, better make sure your Gregorian to Julian conversion routines works for the same range of dates as the RDF Julian to Gregorian converter does. Neither has a prayer of working for the start date of item Q1 (what does a year even mean when the earth doesn't exist yet)?


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

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

To: Jc3s5h
Cc: Smalyshev, daniel, thiemowmde, Jonas, Jc3s5h, Aklapper, Esc3300, Avner, debt, Gehel, D3r1ck01, FloNight, Xmlizer, Izno, jkroll, Wikidata-bugs, Jdouglas, aude, Deskana, Manybubbles, Mbch331
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to