mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
240987d040
date/time expressions. PR: ports/109480 Submitted by: Li-Wen Hsu <lwhsu at lwhsu.org>
25 lines
529 B
Plaintext
25 lines
529 B
Plaintext
Python module that is able to parse 'human readable' date/time expressions.
|
|
|
|
parsedatetime is able to parse, for example, the following:
|
|
|
|
* August 25th, 2008
|
|
* 25 Aug 2008
|
|
* Aug 25 5pm
|
|
* 5pm August 25
|
|
* next saturday
|
|
* tomorrow
|
|
* next thursday at 4pm
|
|
* at 4pm
|
|
* eod
|
|
* tomorrow eod
|
|
* eod tuesday
|
|
* eoy
|
|
* eom
|
|
* in 5 minutes
|
|
* 5 minutes from now
|
|
* 5 hours before now
|
|
* 2 hours before noon
|
|
* 2 days from tomorrow
|
|
|
|
WWW: http://code-bear.com/code/parsedatetime/
|