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

[WIP] Fuzzy date parser #314

Draft
wants to merge 10 commits into
base: master
Choose a base branch
from
Draft

[WIP] Fuzzy date parser #314

wants to merge 10 commits into from

Conversation

msangel
Copy link
Collaborator

@msangel msangel commented Nov 29, 2024

[draft]

  • any year with era designator
  • 4 digit year
  • 2 digit year
  • month number
  • month short
  • month full (need more tests)
  • day of the month 0 leading
  • day of the month no leading
  • day of the month before and after month with and wisunt sequential suffuxes
    • case recognition ' 11 december, 11 ' vs '11, december 11' so the closest without punctuation is priority
  • 11th vs 21st date suffix bug
  • year / month / day combinations (america and normal cases)
  • day of the week name short
  • day of the week name full
  • AM PM hour mark
  • hour
  • minute
  • seconds
  • milliseconds
  • RFC1123 verify
  • zones
    • as +0200
    • as GMT-0900
    • as GMT+02:00
    • as +02:00
    • as +02
    • as UTC / EET
    • as "Coordinated Universal Time" / "Eastern European Standard"
    • as Z
    • as "Europe/Kyiv"
  • yy/MM combinations (without date)
  • port all ruby tests
  • "preferred" date time formats for parsing in parser configs
  • date without time have 00:00 as a current time (verify in ruby first)
  • ensure test coverage
  • spare numbers should not be leftover as this leads to ambivalency
  • negative year

@msangel msangel force-pushed the feature/fuzzy-date-parser branch 4 times, most recently from 464c852 to aeab22e Compare December 10, 2024 00:09
@msangel msangel force-pushed the feature/fuzzy-date-parser branch from d5f6553 to b14efe5 Compare January 2, 2025 00:50
@msangel msangel force-pushed the feature/fuzzy-date-parser branch from 8f387b2 to 53074f8 Compare March 14, 2025 13:51
@msangel msangel force-pushed the feature/fuzzy-date-parser branch from e13f7f1 to 109ef1a Compare March 14, 2025 17:01
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