timerep

Parse and display time according to some RFCs (RFC3339, RFC2822, RFC822)

https://github.com/HugoDaniel/timerep

Version on this page:2.0.0.1
LTS Haskell 22.17:2.1.0.0
Stackage Nightly 2024-04-18:2.1.0.0
Latest on Hackage:2.1.0.0

See all snapshots timerep appears in

BSD-3-Clause licensed and maintained by Hugo Daniel Gomes
This version can be pinned in stack with:timerep-2.0.0.1@sha256:284093c758c56236976ff0cfb4a771ba6f387dd89a250365dedee5512f0f8ec0,1516

Module documentation for 2.0.0.1

timerep

This started out as a simple project to parse and display time according to RFC 3339, but with time gained ability to convert to and from other RFCs as well.

You will find a change log in CHANGES.md.

Todos

  • Get rid of the formatTime function, and use a more decent pretty printing lib.
  • Do some proper parsing (it parses nicely, but this was just a quick hack that my mind produced while being stressed to finish this).

License

This project is licensed under a 3-clause BSD license as specified in the LICENSE file.

Changes

Change log

2.0.0.1

  • Compatibility with monoid-subclasses >= 0.4.1
  • Renamed github repository to match package name

2.0.0

  • Added initial support for RFC822