timerep

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

https://github.com/HugoDaniel/timerep

LTS Haskell 23.1:2.1.0.0
Stackage Nightly 2024-12-27: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.1.0.0@sha256:7e9ac95dfee2724ffa9c6fd537d0254977cf9d8dec2032f06997f19c8c2fd8d4,1581

Module documentation for 2.1.0.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