When copying a date from a website in the format "31/07/2009" which is standard in the UK the date was not recognised.
Simply removing the slashes and replacing them with spaces allowed me to enter the date.
The date in the original format should also be allowed!
Description
Description
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Open | None | T87764 Bugs related to time datatype (tracking) | |||
Resolved | thiemowmde | T87019 In Wikibase 31 07 2009 can be parsed but 31/07/2009 can not |
Event Timeline
Comment Actions
Two possible solutions:
- Simply try to add the slash to PhpDateTimeParser::getValueWithFixedSeparators.
- Implement a new parser or a series of new parsers for cases that PHPs parser can't handle. For reference, this is what it can handle: http://php.net/manual/en/datetime.formats.date.php
Comment Actions
Thanks for the hint. This got indeed fixed via https://gerrit.wikimedia.org/r/240714, tracked in T98194: [Bug] Date parser does not allow February 29, 1700 (Julian).