Skip to content

feat(dates): natural-language due dates (v0.2.0)#1

Merged
Sanjays2402 merged 8 commits intomainfrom
feat/natural-language-dates
Apr 22, 2026
Merged

feat(dates): natural-language due dates (v0.2.0)#1
Sanjays2402 merged 8 commits intomainfrom
feat/natural-language-dates

Conversation

@Sanjays2402
Copy link
Copy Markdown
Owner

v0.2.0 — natural-language due dates

Closes the "I don't want to type 2026-04-25 every time" gap.

What's new

  • -d tomorrow / yesterday / today
  • -d mon / fri / monday — next occurrence
  • -d "in 3d" / 3d / 2w / 1m
  • -d "jul 4" / jul 4 2027 / 4 jul
  • -d "next week" / next mon / eow / eom
  • YYYY-MM-DD still works.

Implementation

New internal/dateparse package, ~30 table-driven tests, DST cases included. No new deps (stdlib time + regex).

Tested

go test -race ./... → PASS, dateparse coverage: 99.2%

Breaking

None.

@Sanjays2402 Sanjays2402 merged commit d17657e into main Apr 22, 2026
3 of 4 checks passed
@Sanjays2402 Sanjays2402 deleted the feat/natural-language-dates branch April 22, 2026 02:56
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