Skip to content

patch WorkShowPresenter#humanize_value to handle BCE dates#1214

Merged
rococodogs merged 2 commits into
developfrom
humanized-date-field-fix
Jun 17, 2026
Merged

patch WorkShowPresenter#humanize_value to handle BCE dates#1214
rococodogs merged 2 commits into
developfrom
humanized-date-field-fix

Conversation

@rococodogs

@rococodogs rococodogs commented Jun 9, 2026

Copy link
Copy Markdown
Member

cleans up the internal method used to humanize edtf date values to:
a) strip leading zeros from pre 1000 dates
b) convert negative date values to display as BCE

example:

value: '-0080/-0077%'
humanized: '80 BCE to circa 77? BCE'

@rococodogs rococodogs marked this pull request as ready for review June 9, 2026 17:51
@rococodogs rococodogs merged commit 608d586 into develop Jun 17, 2026
6 checks passed
@rococodogs rococodogs deleted the humanized-date-field-fix branch June 17, 2026 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant