bear / parsedatetime

Parse human-readable date/time strings
Apache License 2.0
694 stars 105 forks source link

"2016" parsed as time #198

Open danqing opened 8 years ago

danqing commented 8 years ago

I think it makes more sense to be parsed as year?

In [18]: CAL.nlp('2016')
Out[18]: ((datetime.datetime(2016, 9, 19, 20, 16), 2, 0, 4, '2016'),)