@hackage dates0.2.3.3
Small library for parsing different dates formats.
Installation
Dependencies (6)
- 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 Show all…
Dependents (10)
@hackage/yesod-articles, @hackage/ddate, @hackage/date-conversions, @hackage/blatex, @hackage/acme-everything, @hackage/heckle, Show all…
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.