talira

Date and time handling for Gleam

open sourceApache-2.0free

birl is a date and time library for Gleam: get the current time, add and subtract durations (birl.add(now, duration.weeks(2))) and format times as ISO 8601. Its repository carries time zone data. It's by Shayan Javani.

Problems it solves

  • work with dates and times in Gleam
  • add a duration to a timestamp in Gleam
  • format a time as ISO 8601 in Gleam

Features

  • current time and durations
  • date arithmetic
  • ISO 8601 formatting