Closed kirkkwang closed 12 months ago
This commit will update the #add_date method to handle cases such as:
YYYY YYYYs YYYY's YYYY-MM YYYY-MM-DD No date provided (blank string)
Ref:
This commit will make it so that only the year is shown in the date range facet which will make it match the input fields.
Dates like "approximately 1963" weren't handled correctly and throwing the sort and display off.
More edge cases are being handled.
https://github.com/scientist-softserv/west-virginia-university/assets/19597776/bdbfc5fd-e667-4e7c-ae9f-da478a3678c4
Story
This commit will update the #add_date method to handle cases such as:
YYYY YYYYs YYYY's YYYY-MM YYYY-MM-DD No date provided (blank string)
Ref:
https://github.com/scientist-softserv/west-virginia-university/issues/112
This commit will make it so that only the year is shown in the date range facet which will make it match the input fields.
Expected Behavior Before Changes
Dates like "approximately 1963" weren't handled correctly and throwing the sort and display off.
Expected Behavior After Changes
More edge cases are being handled.
Screenshots / Video
https://github.com/scientist-softserv/west-virginia-university/assets/19597776/bdbfc5fd-e667-4e7c-ae9f-da478a3678c4