You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.