← Back to team overview

gtg-contributors team mailing list archive

proposed library

 

Hi all,
I found out a nice library in the ubuntu repository to parse times in
"human"format.

The name is python-parsedatetime, and from their home page
(http://code.google.com/p/parsedatetime/):
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


I'm not saying that we should add that as dependency, but maybe we could
"steal" some code.


Attachment: signature.asc
Description: Digital signature


Follow ups