Skip to content

About

Functions to deal with dates represented as a List of Int's

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

67 Commits

Folders and files

Repository files navigation

elm-list-date

Sometimes an API returns a List of Int's and you have to deal with it. This package helps with the conversion from and to elm's native Time.

Installation

elm install brianvanburken/elm-list-date

Usage

See docs.

Decoding

listToDate Time.utc [ 2018, 5, 31, 15, 16, 20, 987 ] -- Ok (Posix 1527779780987)

Encoding

dateToList Time.utc (Posix 1527779780987) -- [ 2018, 5, 31, 15, 16, 20, 987 ]

About

Functions to deal with dates represented as a List of Int's

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Contributors

Languages