Skip to content

Tempo version 0.6.0

Latest

Choose a tag to compare

@kipcole9 kipcole9 released this 23 May 12:26
· 13 commits to main since this release

[v0.6.0] — 2026-05-23

Added

  • Tempo.parse/2 and Tempo.parse!/2. Parse a locale-formatted date, time, datetime, or interval string into a Tempo (or Tempo.Interval for ranges) by delegating to Calendrical.parse/2. Forwards :locale, :calendar, and :reference_date to Calendrical and normalises the resulting field map for Tempo.new/1.

  • Tempo.new/1 and Tempo.new!/1 now also accept a map. Calendar.ISO is silently normalised to Calendrical.Gregorian, so an Elixir Date, Time, or NaiveDateTime can be passed via Map.from_struct/1 directly.