Page MenuHomePhabricator

0 padding on years when formatting dates
Closed, InvalidPublic

Description

the item https://www.wikidata.org/wiki/Q975291 has the date 28 February 256 Gregorian.

when used on German Wikipedia, the date is formatted as:

  1. Februar 0256

the 0 padding on the year should be like that.


Version: unspecified
Severity: normal

Details

Reference
bz72662

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:59 AM
bzimport set Reference to bz72662.
bzimport added a subscriber: Unknown Object (MLST).

The padding is pointless and should not be done. But it doesn't hurt to have it. The zeros are just meaningless.

The formatting of this date is done by the Lua module on the German Wikipedia. This is maintained by the community and nothing we can fix.

Marking this as invalid fro two reasons: 1. It's not really a bug. If you want a year padded with zeros is a matter of taste and meaningless anyway. 2. Not Wikibase code.

https://de.wikipedia.org/wiki/Modul:Wikidata