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

Maintainer's Corner

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
Dependencies base (>=4.9 && <4.16), base-unicode-symbols (>=0.2 && <0.3), parsec (>=3.1 && <3.2), syb (>=0.3.7 && <0.8), template-haskell (>=2.0.0.0 && <2.17), time (>=1.4 && <1.12) [details]
License BSD-3-Clause
Author IlyaPortnov
Maintainer portnov84@rambler.ru
Category Data
Home page https://github.com/portnov/dates
Source repo head: git clone https://github.com/portnov/dates.git
Uploaded by IlyaPortnov at 2022-02-01T17:49:47Z
Distributions NixOS:0.2.3.2
Downloads 12028 total (58 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2022-02-01 [all 1 reports]