Last modified: 2014-09-30 07:45:41 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T73429, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 71429 - when parsing dates, do not use the year 2000 to represent the 20th century.
when parsing dates, do not use the year 2000 to represent the 20th century.
Status: RESOLVED INVALID
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: Unprioritized critical (vote)
: ---
Assigned To: Wikidata bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-09-29 21:05 UTC by Daniel Kinzler
Modified: 2014-09-30 07:45 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Daniel Kinzler 2014-09-29 21:05:29 UTC
Currently, entering "20. century" will result in the timestamp +00000002000-01-01T00:00:00Z with the precision set to "century"[1]. However, with Ia1692d1241 applied, this will render as "19. century", since the 20. century only started with the year 2001. 

So, "20. century" should result in the timestamp +00000002001-01-01T00:00:00Z, with precision "century" (and before=0 and after=1), to accurately represent the century between the start of 2001 and the end of 2100.

The same applies for millennia. Note that decades as well as anything up from precision = 10000 years is counted differently.

[1] https://www.wikidata.org/w/index.php?title=Q4115189&diff=160572560&oldid=160505889
Comment 1 Daniel Kinzler 2014-09-30 07:45:41 UTC
Ugh, I want an edit button! It was late, I guess...
Will file again with the correct description.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links