olebedev/when
A natural language date/time parser with pluggable rules observed · 2026-08-28
Health v2 · maintenance only
66/100
- Activity 96
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3536
- days_rel: 659
- days_push: 24
- n_releases_24m: 1
Adoption not part of the score
1461 stars · 93 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
when is a Go library that parses natural language date and time expressions like 'tonight at 11:10 pm' or 'next tuesday 14:00' into concrete timestamps. It uses pluggable rules and merge strategies, with support for English, Russian, Brazilian Portuguese, Chinese, and Dutch.
Use cases
- parse dates from natural language text in Go
- extract datetime from user input like 'next friday at 3pm'
- build a reminder or scheduling feature that understands phrases
- convert phrases like 'tonight at 11:10 pm' to timestamps
- parse multilingual date expressions including Russian and Chinese
- find date mentions inside free-form chat messages
When to choose
- you need a Go library for natural language date parsing
- you want pluggable, extensible parsing rules
- you need multilingual date parsing (EN, RU, BR, ZH, NL)
- you want a lightweight alternative to heavyweight NLP services
When to avoid
- you need date parsing in a language other than Go
- you need languages beyond the five supported ones
- you need full NLP entity extraction beyond dates and times
Facets
library · maturity active
parser nlp date-time parsers developer-tools go cross-platform natural-language-dates pluggable-rules multilingual golang-library natural-language-processing
1 source
- readme: https://github.com/olebedev/when · fetched 2026-08-28 · 163f796b2e71
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| olebedev/when | main | 66 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem