The dates package
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.
Properties
| Versions | 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 |
|---|---|
| Dependencies | base (4.*), base-unicode-symbols (0.2.*), parsec (3.1.*), syb (0.3.*), time (≥1.4) |
| License | BSD3 |
| Author | IlyaPortnov |
| Maintainer | portnov84@rambler.ru |
| Category | Data |
| Home page | http://redmine.iportnov.ru/projects/dates/ |
| Source repository | git clone git://redmine.iportnov.ru/dates.git |
| Upload date | Thu Oct 11 15:43:28 UTC 2012 |
| Uploaded by | IlyaPortnov |
| Built on | ghc-7.6 |
Modules
Downloads
- dates-0.2.1.0.tar.gz (Cabal source package)
- package description (included in the package)