Jc3s5h added a comment.

thiemowmde's comment of Monday, Feb. 23, 11:07 seems to only consider parsers 
and validators known to the development team. Maybe it's a fact that no one has 
ever written a good ISO 8601 parser or validator that can process years with 
more than 4 digits; I have never found one. If so, there wouldn't be any real 
disadvantage to Wikidata creating it's own format.

Allowing 0 valued months and days does not fully "make possible to roundtrip 
timestamps like '2015-00-00'". Saying that "'2015-00-00" must be allowed to 
achieve roundtrip timestamps implies the precision value is being thrown away 
during the roundtrip. But many precisions are allowed that will not be 
preserved during a roundtrip. For example, if the precision is set to 7, 
century precision, and the precision is thrown away during a roundtrip, it will 
be impossible to tell if "2000-00-00" is precise to a year, decade, century, or 
millennium. So the input characters could be reconstructed but the meaning 
could not be fully reconstructed.


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: Tobi_WMDE_SW, gerritbot, Jc3s5h, JulesWinnfield-hu, thiemowmde, daniel, 
Aklapper, Lydia_Pintscher, Wikidata-bugs, Jdouglas, aude



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

Reply via email to