element.version === currentVersion)) { versionNodes.unshift({ version: currentVersion, url: "#" }); } document.querySelector("#project-version").innerHTML = versionNodes.reduce( (acc, element) => { const status = currentVersion === element.version ? "selected disabled" : ""; return ` ${acc} `; }, `
timestamps · v1.0.1

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
Search Document