1
1
Fork
You've already forked birl
0
datetime handling for gleam
  • Gleam 78.2%
  • Erlang 16.3%
  • Rust 4.1%
  • JavaScript 1.3%
2024年12月18日 21:13:19 +03:30
.github/workflows done some chores 2024年12月18日 21:13:19 +03:30
src done some chores 2024年12月18日 21:13:19 +03:30
test fix unmatched assert on blur of round value 2024年12月12日 16:25:21 +02:00
zones-provider done some chores 2024年12月18日 21:13:19 +03:30
.gitignore added support for timezones 2023年09月18日 23:17:21 +03:30
banner.png some docs changes 2023年11月21日 21:24:35 +03:30
gleam.toml updated deps 2024年12月18日 21:02:07 +03:30
icon.png some docs changes 2023年11月21日 21:24:35 +03:30
LICENSE fixed some bugs, added some functions, added LICENSE 2023年05月05日 14:25:20 +03:30
manifest.toml updated deps 2024年12月18日 21:02:07 +03:30
README.md some docs changes 2023年11月21日 21:24:35 +03:30
update-zones.sh minor change to the shell script 2023年10月03日 12:35:02 +03:30

birl

Package Version Hex Docs

birl

Date/Time handling for gleam

Quick start

gleam run # Run the project
gleam test # Run the tests
gleam shell # Run an Erlang shell

Installation

This package can be added to your Gleam project:

gleam add birl

and its documentation can be found at https://hexdocs.pm/birl.

Usage

importbirlimportbirl/durationpubfnmain(){letnow=birl.now()lettwo_weeks_later=birl.add(now,duration.weeks(2))birl.to_iso8601(two_weeks_later)}