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

Ksu date support #23

Merged
merged 47 commits into from
Aug 21, 2024
Merged

Ksu date support #23

merged 47 commits into from
Aug 21, 2024

Conversation

kspurgin
Copy link
Owner

  • Support more date patterns
  • Make things more consistent

This allows it to a) set its @digits attribute on initialization; and
b) retain the accurate @digits value when combined/collapsed with
other Segments. Calculations can be done on @digits instead of
@lexeme.length, which changes as Segments are combined.
For the purpose of this application, the fact that a date is a
copyright date is irrelevant. It is a type of date that is
unfortunately often recorded as part of a date. There are
endless types of dates, and the type of date has no bearing on how the
date should be parsed. We basically just ignore copyright indicators.
Handles complications of c representing circa, copyright, or century
appearing not at the beginning of a string
@kspurgin kspurgin merged commit 99cfaa3 into main Aug 21, 2024
1 check passed
@kspurgin kspurgin deleted the ksu-date-support branch August 21, 2024 21:16
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