Jc3s5h added a comment.

In reply to thiemowmde, P570 (Date of death; the same argument applies to P569, 
Date of birth) |has datatype TimeValue.  The description of the datatype is at 
https://www.mediawiki.org/wiki/Wikibase/DataModel. The first element the 
TimeValue structure is described as follows:

time (isotime): point in time, represented per ISO8601, they year always having 
11 digits, the date always be signed, in the format +00000002013-01-01T00:00:00Z

I would take this to mean that there are methods for providers of data to 
present a time stamp in this format to the database to be stored, and there are 
methods for consumers of data to extract the timestamp in this format from the 
database, and the documentation serves as a specification so developers will 
know what they must accept and what they must provide.

Any routines that handle these values internally can do what they want, but the 
interface should be clear.


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

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: Jc3s5h
Cc: thiemowmde, Jc3s5h, Wikidata-bugs, Nemo_bis, Addshore, MZMcBride, 
Lydia_Pintscher, JohnLewis, aude



_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to