dates: Small library for parsing different dates formats.

[ bsd3, data, library ] [ Propose Tags ]

This package allows to parse many different formats of dates. Both absolute and relative dates are supported. Supported date formats are:

  • DD.MM.YYYY

  • YYYY/MM/DD

  • `12 September 2012'

  • today, tomorrow, yesterday

  • `in 2 days', '3 weeks ago'

  • `last monday', 'next friday'

  • `last month' (1th of this month), `next year' (1th of January of next year)

4-digits years may be abbreviated (such as 12 for 2012). Both 12-hour and 24-hour time formats are supported.

User-specified date formats are supported by Data.Dates.Formats module.

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

  • No Candidates
Versions [RSS] 0.1.0.0, 0.1.1.0, 0.1.1.1, 0.1.2.0, 0.2.0.0, 0.2.0.1, 0.2.0.2, 0.2.1.0, 0.2.1.1, 0.2.1.2, 0.2.2.0, 0.2.2.1, 0.2.2.2, 0.2.3.0, 0.2.3.1, 0.2.3.2, 0.2.3.3
Dependencies base (>=4.9 && <4.12), base-unicode-symbols (>=0.2 && <0.3), parsec (>=3.1), syb (>=0.3.7), time (>=1.4) [details]
License BSD-3-Clause
Author IlyaPortnov
Maintainer portnov84@rambler.ru
Revised Revision 1 made by HerbertValerioRiedel at 2018-08-12T20:32:07Z
Category Data
Home page http://redmine.iportnov.ru/projects/dates/
Source repo head: git clone git://redmine.iportnov.ru/dates.git
Uploaded by IlyaPortnov at 2018-08-12T13:32:53Z
Distributions
Reverse Dependencies 7 direct, 2 indirect [details]
Downloads 12784 total (59 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-08-12 [all 1 reports]