gleam timestamps library
Go to file
pswsm 988a0cf42d
Some checks failed
test / test (push) Has been cancelled
chore: add missing fields for publishing
2024-11-12 18:35:49 +01:00
.github/workflows chore(timestamps): bring timestamps from pswsm-repo/sequences 2024-11-12 18:28:03 +01:00
src chore(timestamps): bring timestamps from pswsm-repo/sequences 2024-11-12 18:28:03 +01:00
test chore(timestamps): bring timestamps from pswsm-repo/sequences 2024-11-12 18:28:03 +01:00
.gitignore chore(timestamps): bring timestamps from pswsm-repo/sequences 2024-11-12 18:28:03 +01:00
gleam.toml chore: add missing fields for publishing 2024-11-12 18:35:49 +01:00
LICENSE chore(license): add Apache-2.0 license 2024-11-12 18:32:58 +01:00
manifest.toml chore(timestamps): bring timestamps from pswsm-repo/sequences 2024-11-12 18:28:03 +01:00
README.md chore(timestamps): bring timestamps from pswsm-repo/sequences 2024-11-12 18:28:03 +01:00

timestamps

Package Version Hex Docs

gleam add timestamps@1
import timestamps

pub fn main() {
  let now = timestamps.now()
  io.println("The current time is: " <> now |> timestamps.to_string)
}

Further documentation can be found at https://hexdocs.pm/timestamps.

Development

gleam run   # Run the project
gleam test  # Run the tests