Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/stil4m/rfc2822-datetime

RFC2822 Datetime
https://github.com/stil4m/rfc2822-datetime

datetime elm elm-lang rfc2822

Last synced: about 1 month ago
JSON representation

RFC2822 Datetime

Awesome Lists containing this project

README

        

# RFC2822 Datetime

Elm package that supports parsing datetime strings specified in the [RFC2822](https://tools.ietf.org/html/rfc2822).

```
module Main exposing (..)

import Rfc2822Datetime exposing (Datetime)

parsedDate : Result String Datetime
parsedDate =
Rfc2822Datetime.parse "Mon, 06 Mar 2017 21:22:23 +0000"
```

Please [report](https://github.com/stil4m/rfc2822-datetime/issues) issues if you encounter any and feature requests.