An open API service indexing awesome lists of open source software.

https://github.com/wolfadex/elm-rfc3339

An Elm package for parsing RFC 3339 date times
https://github.com/wolfadex/elm-rfc3339

Last synced: 4 months ago
JSON representation

An Elm package for parsing RFC 3339 date times

Awesome Lists containing this project

README

          

# elm-rfc3339 [![Build Status](https://github.com/wolfadex/elm-rfc3339/workflows/CI/badge.svg)](https://github.com/wolfadex/elm-rfc3339/actions?query=branch%3Amain)

Parses a string into an [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339) date time format, or convert back into a string.

Some examples of what these look like...

- **local time**: 09:15:22
- **local date**: 1970-11-21
- **local date time**: 1970-11-21T09:15:22
- **date time with offset**: 1970-11-21T09:15:22+01:00

For differences with ISO 8601, I recommend checking out