Hi, Natural date parsing is a really exciting feature. It would be interesting to play with it. However, one major issue I see with this feature is localization. Do this library support several locales?
I think localization-aware natural date parsing is a not an easy feature. It could be worth including it in GTG dependancies, then (at least if the package is well maintained). Bertrand On Wed, Feb 24, 2010 at 10:37 AM, Luca Invernizzi <[email protected]> wrote: > 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. > > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (GNU/Linux) > > iQIcBAEBCAAGBQJLhPM+AAoJEJwV7kAnLtWzl6sQAML/my+EMuA4hSzHrlE99uBx > xNzVGyEe1eDChcsZ97rbcvUB0Qc9ejz8h3tm7+z58CFzvLArlyo3Eq67BfHdOBQl > /lpu2pephR0EaOUv6AUOodmr3vrmnaVAMUFGPYC4Fw9t5DbuSnUXCKut0r6LVIIv > YY+zIL9MsLHuOlzSXeiU5x6OV2JWYfSkLvhYclP/jc6aU904Kaek0TuJIE36R3am > V+FxOEoDHjsYZRc65nrO+wF10T5TIi7cEqmLZwHaiaeqlG9MicfAmW7J1Ehyv7R0 > kwyVlU3hspqdkzq/eU4yNMjz9jM4PlJQuMgUGZdO66JSvkNqylgC4DwReDVH+3Pa > 7z03mNs0HcuPqfHCn9+7/CyNaeC0IsLBnYlOgj46m7HHhckY2Psn//PQuZY1IL2+ > mYGi3itTz3SHTxLPO1hNrj9rcZlyzPtq/0zkFjrkGbN4vBAaUcJI1SN5a6UikOIO > 0hAEYhUa9VgGbjmLjc4RYwdtqat+fd9OYBX+KTi5cw9lOj25valYtYVtn/0MDN/u > jja0KZ23RAaayvbsZ0lmhRJ2XSByFXSZHbFng5bR74dp5ASZBahiDtpxGxjzzSCX > 8H+Zon3yrdxGfb3tc4X5HxU6QSc16RJxvduUQS2jferEbpKoXWrvUEZVtAsTNmIl > brbDv1Stt1Gp2rERMrH+ > =p4rC > -----END PGP SIGNATURE----- > > _______________________________________________ > Mailing list: https://launchpad.net/~gtg-contributors > Post to : [email protected] > Unsubscribe : https://launchpad.net/~gtg-contributors > More help : https://help.launchpad.net/ListHelp > > -- Bertrand Rousseau _______________________________________________ Mailing list: https://launchpad.net/~gtg-contributors Post to : [email protected] Unsubscribe : https://launchpad.net/~gtg-contributors More help : https://help.launchpad.net/ListHelp

