Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/stil4m/rfc2822-datetime
- Owner: stil4m
- Created: 2017-03-29T15:21:25.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-04-12T08:50:13.000Z (over 7 years ago)
- Last Synced: 2024-09-30T05:23:04.118Z (about 2 months ago)
- Topics: datetime, elm, elm-lang, rfc2822
- Language: Elm
- Homepage: http://package.elm-lang.org/packages/stil4m/rfc2822-datetime/latest
- Size: 8.79 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.