- Notifications
You must be signed in to change notification settings - Fork12
datetime handling for gleam
License
NotificationsYou must be signed in to change notification settings
massivefermion/birl
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Date/Time handling for gleam
gleam run# Run the projectgleamtest# Run the testsgleam shell# Run an Erlang shell
This package can be added to your Gleam project:
gleam add birl
and its documentation can be found athttps://hexdocs.pm/birl.
importbirlimportbirl/durationpubfnmain(){letnow=birl.now()lettwo_weeks_later=birl.add(now,duration.weeks(2))birl.to_iso8601(two_weeks_later)}
About
datetime handling for gleam