fuzzy-dates

[ bsd3, library, parsing ] [ Propose Tags ]

Please see the README on GitHub at https://github.com/ReedOei/fuzzy-dates#readme


[Skip to Readme]
Versions [faq] 0.1.0.0, 0.1.0.1, 0.1.0.2, 0.1.1.0, 0.1.1.1
Change log ChangeLog.md
Dependencies base (>=4.7 && <5), fuzzy-dates, hourglass, hspec, lens, parsec [details]
License BSD-3-Clause
Copyright 2018 Reed Oei
Author Reed Oei
Maintainer oei.reed@gmail.com
Home page https://github.com/ReedOei/fuzzy-dates#readme
Bug tracker https://github.com/ReedOei/fuzzy-dates/issues
Source repo head: git clone https://github.com/ReedOei/fuzzy-dates
Uploaded by ReedOei at Thu May 3 19:01:15 UTC 2018
Distributions LTSHaskell:0.1.1.1, NixOS:0.1.1.1, Stackage:0.1.1.1
Executables fuzzy-dates-exe
Downloads 699 total (59 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2018-05-03 [all 1 reports]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for fuzzy-dates-0.1.0.0

[back to package description]

fuzzy-dates

Build Status

fuzzy-dates is a Haskell library for parsing dates when you don't know/care to specify the format of the dates beforehand.

It is heavily based off of https://gitlab.com/doshitan/hourglass-fuzzy-parsing, which had not been updated for over 2 years at the time of writing, so I created this library, and added numerous new date formats to it.

Quickstart

Import the main module, then call one of the extract dates functions, like so:

>>> import Data.Dates.Parsing
>>> extractDatesY 2018 "The party will be on 6/9"
[Date 2018 June 9]