kvh / parsedatetime

Python module that is able to parse 'human readable' date/time expressions. Official repo below
http://github.com/bear/parsedatetime/
Apache License 2.0
10 stars 2 forks source link

Parse failed on "a few seconds ago" #3

Closed almartin82 closed 1 year ago

almartin82 commented 11 years ago

First off -- want to say THANK YOU. This module saved me a ton of time on a project I was working on.

Ran into one input that wasn't handled. Spotted in the wild while doing a web scrape from https://diy.org/e111e/0005hb

If given the input "a few seconds ago" the parse will fail (closed the exact message, sorry).

I poked around a bit -- if 'a few' was added to self.Modifiers in https://github.com/kvh/parsedatetime/blob/master/parsedatetime/pdt_locales.py with a value of 2, might that solve it?

kvh commented 11 years ago

Hi,

Sorry for the very belated response, but this is not the official parsedatetime repo. You should leave a note there: http://github.com/bear/parsedatetime/

almartin82 commented 1 year ago

Closed ten years later as "this was my first ever github issue, and I was not entirely sure what I was doing 😆".