dayte
A day-friendly datetime library.
Most business logic thinks in calendar days — invoices, deadlines, bookings, birthdays — not in instants. Existing datetime libraries centre on timestamps and timezones, which makes day-level work awkward.
dayte treats the calendar day as the primary unit. Its
design is heavily based on EDTF (Extended Date/Time Format) and
ISO 8601-2, giving first-class form to reduced-precision dates
(a year, a month), uncertain and approximate dates, seasons, sets, and
intervals.
Packages
- Python —
dayteon PyPI - TypeScript —
dayteon npm
Pre-release: nothing is published yet. Both packages are under active development.
Source, issues, and discussion: github.com/cactus-bm/dayte