Nikki added a comment. It appears it's actually using the current day and current month, because it now parses them as the 7th of July.
Out of curiosity, I tried checking out a copy of https://github.com/DataValues/Time (I assume that's the right place to be looking) and adding a couple of tests to see what happens and got: 1) ValueParsers\Test\PhpDateTimeParserTest::testParseWithValidInputs with data set #21 ('2009 01 09', +2009-01-09T00:00:00Z) ValueParsers\ParseException: DateTime::__construct(): Failed to parse time string (2009.01.09) at position 5 (0): Double time specification and 1) ValueParsers\Test\PhpDateTimeParserTest::testParseWithValidInputs with data set #20 ('1999 1 2', +1999-01-02T00:00:00Z) testing equals(): Array ( [value] => Array ( [time] => +1999-07-07T01:02:00Z [timezone] => 0 [before] => 0 [after] => 0 [precision] => 13 [calendarmodel] => http://www.wikidata.org/entity/Q1985727 ) [type] => time ) should equal Array ( [value] => Array ( [time] => +1999-01-02T00:00:00Z [timezone] => 0 [before] => 0 [after] => 0 [precision] => 11 [calendarmodel] => http://www.wikidata.org/entity/Q1985727 ) [type] => time ) so it seems to be parsing it as HHMM HH MM where possible (which fails entirely) and YYYY HH MM where not (which then uses the current day and month). TASK DETAIL https://phabricator.wikimedia.org/T104862 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Nikki Cc: Nikki, Aklapper, Wikidata-bugs, aude, Malyacko, P.Copp _______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
