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

[ bsd3, library, parser, text, time, web ] [ Propose Tags ]

Parse and display time according to some RFC's.

Supported:

Special thanks to Koral for all the suggestions and help in solving some bugs.


[Skip to Readme]

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 1.0.0, 1.0.2, 1.0.3, 1.0.4, 2.0.0, 2.0.0.1, 2.0.0.2, 2.0.1.0, 2.1.0.0 (info)
Change log CHANGES.md
Dependencies attoparsec, base (<5), monoid-subclasses (>=0.4.1), text, time (>=1.5 && <1.10) [details]
License BSD-3-Clause
Copyright (c) 2010-2015 Hugo Daniel Gomes
Author Hugo Daniel Gomes <mr.hugo.gomes@gmail.com>
Maintainer Hugo Daniel Gomes <mr.hugo.gomes@gmail.com>
Revised Revision 1 made by koral at 2022-06-13T19:06:01Z
Category Web, Time, Parser, Text
Home page https://github.com/HugoDaniel/timerep
Bug tracker https://github.com/HugoDaniel/timerep/issues
Source repo head: git clone git://github.com/HugoDaniel/timerep.git
Uploaded by koral at 2020-11-21T22:08:34Z
Distributions Fedora:2.1.0.0, LTSHaskell:2.1.0.0, NixOS:2.1.0.0, Stackage:2.1.0.0, openSUSE:2.1.0.0
Reverse Dependencies 22 direct, 8 indirect [details]
Downloads 8065 total (61 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2020-11-21 [all 1 reports]

Readme for timerep-2.0.1.0

[back to package description]

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.