Jc3s5h added a comment. In https://phabricator.wikimedia.org/T98194#1641408, @thiemowmde wrote:
> The relevant YearMonthDayTimeParser (see > https://github.com/DataValues/Time/blob/master/src/ValueParsers/YearMonthDayTimeParser.php) > that could fix this and quite a lot similar issues is already merged and > released for a while now. It's just not used in Wikibase repo. I notice this course calls eraParser. EraParser (see https://github.com/DataValues/Time/blob/master/src/ValueParsers/EraParser.php) appears to recognize years that contain + as CE, - as BCE, and several variations of the suffix as the appropriate era (CE, AD, Anno Domini, BCE, Before Christ, etc.) But I was unable to figure out what EraParser will do if the year is 0. TASK DETAIL https://phabricator.wikimedia.org/T98194 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Jc3s5h Cc: Jc3s5h, daniel, thiemowmde, Aklapper, Wikidata-bugs, aude _______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
