archivematica / Issues

Issues repository for the Archivematica project
GNU Affero General Public License v3.0
16 stars 1 forks source link

Problem: can't enter dates earlier than 1900 in rights metadata entry form #348

Open sallain opened 5 years ago

sallain commented 5 years ago

Expected behaviour I should be able to add whatever dates I want in the determination date, start date, and end date fields.

Is it likely that I'd need to do this? Not really! But I should be able to do it all the same.

Current behaviour I can only enter years that start with "19" or "20". It's not possible to add a determination, start, or end date that took place in the 1800s or any other century except for the 20th and 21st.

Steps to reproduce

  1. Click on the metadata icon for a transfer and then on Add under Rights.
  2. Try to enter "1895" as the determination, start, or end date.

Your environment (version of Archivematica, OS version, etc) 1.8


For Artefactual use: Please make sure these steps are taken before moving this issue from Review to Verified in Waffle:

eviau-artefactual commented 1 year ago

Thank you for this report.

I just did a fresh install of Archivematica and I can still observe the bug, although I believe we should be able to set a date prior to 1900 with the ISO 8601 standard - see https://en.wikipedia.org/wiki/ISO_8601#Years for more information on this.

Another note: I believe that the name of the standard is 8601, not ISO 8061 - there is a small typo on the UI: https://www.iso.org/standard/70907.html

Screen capture to help reproduce the bug:

Capture d’écran du 2023-10-12 15-48-38

sallain commented 1 year ago

Oh my lord I can't imagine how long that typo has been there :woman_facepalming: