Islandora / controlled_access_terms

Drupal module for subject and agents
GNU General Public License v2.0
7 stars 28 forks source link

[BUG] Year zero does not exist #125

Closed AronNovak closed 5 days ago

AronNovak commented 3 weeks ago

What steps does it take to reproduce the issue?

Supply 0000 to an EDTF field. There should be a validation error according to https://en.wikipedia.org/wiki/Year_zero . The value is accepted, but nothing is rendered at the node display in the date field.

seth-shaw-asu commented 2 weeks ago

EDTF is an extension of ISO 8601 which, according to the Wikipedia article you referenced, does have a year 0. Or, as encoded in EDTF, a year 0000. Ergo, 0000 is valid.

The practical implication the article is that if we were to render it using BC/AD the EDTF value 0000 would be rendered "1 BC".