arrow-py / arrow

🏹 Better dates & times for Python
https://arrow.readthedocs.io
Apache License 2.0
8.71k stars 673 forks source link

Add support for parsing natural language dates #837

Closed ZeusFSX closed 4 years ago

ZeusFSX commented 4 years ago

Feature Request

Can add some tokens in table Supported Tokens for parsing the type of date: "yesterday", "today", "month ago", etc?

jadchaar commented 4 years ago

This seems directly related to #360. We recently got a PR adding support for this (https://github.com/arrow-py/arrow/pull/772), but it did not account for locales and became inactive, so we decided to close it. If you would like to submit a PR for this, using https://github.com/arrow-py/arrow/pull/772 as a template, we would love to review it.