Commit activity
Last 12 weeks · 0 commits
Community health
5 of 6 standards met
Recent PRs & issues
Parse("february", January 31) returned March 3. "1 month from now" on that day did the same. "1 year from now" on February 29 returned March 1. time.Date and AddDate normalize a missing day into the next month, and the parse still succeeded. The day now stays on the last day of the target month. January 31, 2024 plus one month is still February 29. February 29, 2020 plus four years is still February 29, 2024. Days that already fit, including the existing November 25 cases, are unchanged. No existing issue.
Recent fixes
Seems like the latest peg generates a file with two RuleIn definitions, which I had to manually remove after go generate. There also seems to be other non-trivial changes to the generated file. However, with the additional RuleIn definition removed, tests do pass. Depending on your thoughts, I am open to regenerating against a last known good version of peg before any merging
Repository: tj/go-naturaldate. Description: Natural date/time parsing for Go. Stars: 315, Forks: 17. Primary language: Go. Languages: Go (100%). License: MIT. Topics: date, datetime, golang, natural, natural-language. Open PRs: 2, open issues: 6. Last activity: 2y ago. Community health: 71%. Top contributors: tj, DanielHouston, sinchang.