timerep

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

https://github.com/HugoDaniel/timerep

Version on this page:2.0.1.0
LTS Haskell 22.36:2.1.0.0
Stackage Nightly 2024-10-05: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.1.0@sha256:bf6f13911dd252b01037025dc8eca5820c5490dcb067ab7738d16963a50f37ff,1581

Module documentation for 2.0.1.0

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.2

  • Added non-zero day padding for RFC822

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