OD2 icon indicating copy to clipboard operation
OD2 copied to clipboard

Add edtf-humanize gem for better date display

Open wickr opened this issue 3 years ago • 1 comments

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

wickr avatar Feb 08 '22 22:02 wickr

Related to #2199

CGillen avatar Aug 12 '22 21:08 CGillen