dates: Small library for parsing different dates formats.

[ bsd3, data, library ] [ Propose Tags ] [ Report a vulnerability ]

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.

Modules

[Last Documentation]

  • Data
    • Data.Dates
      • Data.Dates.Formats
      • Data.Dates.Internal
      • Data.Dates.Types

Downloads

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 && <5), 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.19), 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 2024-03-29T12:06:34Z
Distributions
Reverse Dependencies 7 direct, 2 indirect [details]
Downloads 13059 total (9 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2024-03-29 [all 2 reports]