datetime handling for gleam

some docs changes

Changed files
+17 -4
+17 -4
README.md
··· 1 - ![birl](https://raw.githubusercontent.com/massivefermion/birl/main/logo.png) 2 3 [![Package Version](https://img.shields.io/hexpm/v/birl)](https://hex.pm/packages/birl) 4 [![Hex Docs](https://img.shields.io/badge/hex-docs-ffaff3)](https://hexdocs.pm/birl/) ··· 7 8 Date/Time handling for gleam 9 10 - ## Quick start 11 12 ```sh 13 gleam run # Run the project ··· 15 gleam shell # Run an Erlang shell 16 ``` 17 18 - ## Installation 19 20 - If available on Hex this package can be added to your Gleam project: 21 22 ```sh 23 gleam add birl 24 ``` 25 26 and its documentation can be found at <https://hexdocs.pm/birl>.
··· 1 + ![birl](https://raw.githubusercontent.com/massivefermion/birl/main/banner.png) 2 3 [![Package Version](https://img.shields.io/hexpm/v/birl)](https://hex.pm/packages/birl) 4 [![Hex Docs](https://img.shields.io/badge/hex-docs-ffaff3)](https://hexdocs.pm/birl/) ··· 7 8 Date/Time handling for gleam 9 10 + ## <img width=32 src="https://raw.githubusercontent.com/massivefermion/birl/main/icon.png"> Quick start 11 12 ```sh 13 gleam run # Run the project ··· 15 gleam shell # Run an Erlang shell 16 ``` 17 18 + ## <img width=32 src="https://raw.githubusercontent.com/massivefermion/birl/main/icon.png"> Installation 19 20 + This package can be added to your Gleam project: 21 22 ```sh 23 gleam add birl 24 ``` 25 26 and its documentation can be found at <https://hexdocs.pm/birl>. 27 + 28 + ## <img width=32 src="https://raw.githubusercontent.com/massivefermion/birl/main/icon.png"> Usage 29 + 30 + ```gleam 31 + import birl 32 + import birl/duration 33 + 34 + pub fn main() { 35 + let now = birl.now() 36 + let two_weeks_later = birl.add(now, duration.weeks(2)) 37 + birl.to_iso8601(two_weeks_later) 38 + } 39 + ```
icon.png

This is a binary file and will not be displayed.

logo.png banner.png