Skip to content

pendletong/dateformat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dateformat

Package Version Hex Docs

Date formatting for birl Time records

gleam add dateformat@1
gleam add birl
import dateformat
import birl

pub fn main() {
  let t = birl.from_unix_milli(1_234_567_890_123)

  dateformat.format("dd-MMM-YYYY HH:mm", t)
  // -> Ok("13-Feb-2009 23:31")
}

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

Development

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages