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 23 commits into
base: master
Choose a base branch
from
Draft

[WIP] Fuzzy date parser #314

wants to merge 23 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+02:00
    • as +02:00
    • as +02
    • as UTC / EET
    • as "Coordinated Universal Time" / "Eastern European Standard"
    • as Z
    • as "Europe/Kiev"
  • 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

@msangel msangel force-pushed the feature/fuzzy-date-parser branch 2 times, most recently from 98ca082 to 4c281d3 Compare December 5, 2024 23:38
@msangel msangel force-pushed the feature/fuzzy-date-parser branch from 4c281d3 to 6efbeb6 Compare December 6, 2024 00:35
@msangel msangel force-pushed the feature/fuzzy-date-parser branch 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
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.

2 participants