|thiemowmde closed this task as "Invalid".|
thiemowmde added a comment.
Ok, this is a user error then and nothing we can fix. Users of the API, bots, tools and so on must enter dates according to XSD 1.0, not XSD 1.1.
The internal representation is consistent and always was: -0001 in the database means 1 BCE, -0002 means 2 BCE and so on.
The most recent documentation is https://www.mediawiki.org/wiki/Wikibase/DataModel/JSON#time. We updated this just recently to reflect the status quo of our code base (the code and internal representation did not changed, the documentation was just not specific enough and left room for interpretation, which lead to mistakes like the ones you reported here).
Cc: Lydia_Pintscher, Jonas, thiemowmde, Jc3s5h, Luo123n, Aklapper, mschwarzer, Avner, debt, Gehel, D3r1ck01, FloNight, Xmlizer, Izno, jkroll, Smalyshev, Wikidata-bugs, Jdouglas, aude, Deskana, Manybubbles, Mbch331
_______________________________________________ Wikidata-bugs mailing list Wikidatafirstname.lastname@example.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs