timerep

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

https://github.com/HugoDaniel/timerep

Version on this page:2.0.0.2
LTS Haskell 22.13:2.1.0.0
Stackage Nightly 2024-03-14: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.2@sha256:6b6eee5146a350a90009b4e903d7bbfece90dd3a3988f5b109e36928d3e35d55,1516

Module documentation for 2.0.0.2

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