Try these examples:

Error

About Temporal Parser

The @taskade/temporal-parser library parses ISO 8601, RFC 3339, and IXDTF temporal expressions into structured AST (Abstract Syntax Tree) format.

This parser supports a wide range of temporal formats including:

  • Dates: 2025-01-12
  • Times: T10:30:45
  • Timezones: +08:00, [Asia/Singapore]
  • Durations: P1Y2M3DT4H5M6S
  • Ranges: 2025-01-01/2025-12-31
  • IXDTF Annotations: [u-ca=gregory]

Learn more: GitHub Repository ยท NPM Package