ProfessionalWiki / EDTF

PHP library to parse, represent and work with dates that follow the Extended Date/Time Format specification.
https://wikibase.consulting/wikibase-edtf
GNU General Public License v2.0
10 stars 7 forks source link

Are negative number correctly humanised #54

Closed mzeinstra closed 3 years ago

mzeinstra commented 3 years ago

should -1 be humanised to 2 BC or to 1 BC

And is 0 actually 1 BC?

See https://en.wikipedia.org/wiki/Year_zero#ISO_8601

Let's first get agreement on this, before changing code

@cnralux how should -1 one be represented?

JeroenDeDauw commented 3 years ago

Standard Wikibase time value appear to differentiate between 0 and -1: https://cat-collective2.wiki.opencura.com/wiki/Property:P1

mzeinstra commented 3 years ago

And we have heard that the ISO standard also accepts 0 as a year. Closing this remark.