Lucas_Werkmeister_WMDE added a project: MediaWiki-extensions-WikibaseRepository.
Lucas_Werkmeister_WMDE added a comment.
Wikibase’s `DateTimeValueCleaner` converts greater-than-possible days in a
month to the last day in the month:
$max = cal_days_in_month( CAL_GREGORIAN, $m, $safeYear );
// We just put it as the last day in month, won't bother further
if ( $d > $max ) {
$d = $max;
}
We could make it return `null` instead, which would mean that the date would
get exported as a string in RDF, instead of as an `xsd:dateTime`. (I believe
this also happens when the year is set to 0, for example.)
In either case, this is actually an issue in the Wikibase RDF export, the
query service isn’t doing anything special. (But maybe it still makes sense to
keep it tagged, so not untagging it yet.)
TASK DETAIL
https://phabricator.wikimedia.org/T324345
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Lucas_Werkmeister_WMDE
Cc: Lucas_Werkmeister_WMDE, Aklapper, Vojtech.dostal, Astuthiodit_1,
AWesterinen, karapayneWMDE, Invadibot, MPhamWMF, maantietaja, CBogen,
ItamarWMDE, Akuckartz, Nandana, Namenlos314, lucamauri, Lahi, Gq86,
GoranSMilovanovic, QZanden, EBjune, merbst, LawExplorer, _jensen, rosalieper,
Scott_WUaS, Jonas, Xmlizer, jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984,
Manybubbles, Mbch331
_______________________________________________
Wikidata-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]