Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

One (and only one) EDTF pattern gets rejected as an invalid date format #1750

Open
kspurgin opened this issue Feb 5, 2021 · 1 comment
Open
Labels
Subject: Dates related to managing dates in Islandora. Consider also using the search and metadata tags.

Comments

@kspurgin
Copy link
Contributor

kspurgin commented Feb 5, 2021

I got this result in both the I8 sandbox and an I8 instance where the EDTF date field, widget, etc have not been customized beyond the settings available in the UI.

This result was with Permit date intervals = false in the form widget settings.

1985-04-12T23:20:30-04 is rejected as an invalid date.

The following (and all other EDTF patterns, given appropriate form widget settings) are accepted:

1985-04-12T23:20:30
1985-04-12T23:20:30Z
1985-04-12T23:20:30+04:30

That only one of all 64 EDTF patterns is rejected makes me suspicious perhaps this is a bug.

Or, if it was intentional because we did not want to descend into the existential hellscape of timezones, I support that decision, but I'd like to document the exception somewhere.

@kspurgin
Copy link
Contributor Author

kspurgin commented Feb 5, 2021

meta-issue: #1748

@kstapelfeldt kstapelfeldt added Subject: Dates related to managing dates in Islandora. Consider also using the search and metadata tags. and removed dates labels Sep 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Subject: Dates related to managing dates in Islandora. Consider also using the search and metadata tags.
Projects
Development

No branches or pull requests

2 participants