Parse human-readable dates
Go to file
Mahdi Dibaiee 981d7eeda0 chore: add README
fix: pad symbols in string
feat: add `tomorrow` as a special keyword
2018-01-14 14:52:12 +03:30
humandate chore: add README 2018-01-14 14:52:12 +03:30
.gitignore Initial commit 2018-01-14 04:44:26 -06:00
LICENSE Initial commit 2018-01-14 04:44:26 -06:00
MANIFEST pypi package 2018-01-14 14:29:46 +03:30
README.md chore: add README 2018-01-14 14:52:12 +03:30
setup.cfg pypi package 2018-01-14 14:29:46 +03:30
setup.py publish again 2018-01-14 14:42:30 +03:30

humandate

Parse human-readable dates in Python.

Usage

from humandate import parse_date

print(parse_date('next month'))
print(parse_date('I was there an hour ago!'))
print(parse_date('Our event will be held at 12 tomorrow!'))

For more examples see tests.py