OD2
OD2 copied to clipboard
Add edtf-humanize gem for better date display
Descriptive summary
With all of the work being done to clean up dates and get to valid EDTF, and validation already added, we can now use the edtf-humanize gem to better display the date values. This is especially helpful for decades, centuries and other intervals.
https://github.com/duke-libraries/edtf-humanize
Expected behavior
Dates on show page and related pages should display using this gem. Edit form should still show EDTF value in the form. Unparseable dates should fail gracefully, still showing the raw value, and not break further page rendering.
Related work
#40 #1097 #1708
Accessibility Concerns
Add any information here to indicate any known or suspected accessibility issues for this ticket
Related to #2199