We built this after running into a lot of date/time parsing edge cases while working on scheduling at Taskade. Eventually adding more regexes and special cases stopped making sense, so we tried treating temporal strings more like a small language with a lexer, parser, and typed AST. It's TypeScript with zero runtime dependencies. Repo: https://github.com/taskade/temporal-parser Would love feedback, especially weird date/time strings you've run into that we should add to the tests.
Open lxcid.comlxcid.com/tools/temporal-playground
Temporal Parser
A compiler-style parser for date/time strings, providing a playground for testing temporal parsing.
Visit project- First shared
- Sep 10, 2026
- HN activity
- 31
Show HN@johnxieSep 10, 2026
Show HN: Temporal Parser – A compiler-style parser for date/time strings
Community