Page MenuHomePhabricator

Supporting Hebrew calendar model in Wikidata
Open, NormalPublic

Description

We would like to add new calendar model to Wikidata for supporting Hebrew dates.

Conversion from Hebrew dates to Georgrian is pretty straight forward.
Exception: Hebrew dates don't start in the midnight but in the sunset.
How to deal with it (in case we don't know the hour/minute/second) when converting to Georgian:

  1. Most of the day is daylight so usually it can be ignored and get the correct date
  2. To indicate it is not lossless conversion by changing the precision of converted dates?

(TODO: update the task description based on talks we had or should have in the Wikimedia-Hackathon-2016 )

See also:

Event Timeline

eranroz created this task.Apr 2 2016, 8:58 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptApr 2 2016, 8:58 AM
Lydia_Pintscher triaged this task as Normal priority.Apr 3 2016, 11:11 AM
johl removed a subscriber: johl.Jun 16 2016, 11:51 AM
YonaB added a subscriber: YonaB.Apr 6 2017, 7:07 AM
Restricted Application added a subscriber: PokestarFan. · View Herald TranscriptJul 26 2017, 11:49 PM
Amire80 moved this task from Untriaged to Date and time on the I18n board.Mar 12 2018, 11:36 AM
Geagea added a subscriber: Geagea.Apr 11 2018, 5:14 AM

@daniel what do you think would be the best way to add other calenders for Wikibase from the model side?
(Hebrew calender 101 - it have 12 and in leap years 13 months)

Is DataValues/TimeValue.php should refactored to be used for other calendars or subclassed for each calender?
(based on a quick look I see we serialize it based on timestamp described as "The actual format depends on the calendar model")

And as next step after model is supported, what else aside from model else is required? (html formatter, time RDF builder, value parser?)

B20180 updated the task description. (Show Details)Sep 9 2019, 7:48 PM