Arrow: Add support for reversed humanize

Created on 8 Oct 2016  路  10Comments  路  Source: arrow-py/arrow

I think it would be nice if there was a reversed version of humanize, i.e. a function that parses human readable input like "20 hours ago" and produces an Arrow object than can be used in scripts with ease.

enhancement good first issue

Most helpful comment

I am interested working on this issue.

All 10 comments

Exactly what I need !

361 would address this I think

Despite the linked PR now being closed, this is still something we'd like to implement. I think we could do with a good idea for structure + spec before we PR this again though.

I'm interested in working on this feature, I will take a look at it!

Fantastic. Let us know if you have any questions.

I am interested in working on this, would that be alright?

Sure go for it @sawhitt !

772 was a good try at implementing this functionality but it failed to account for any locales other than English. Future attempts at this should take into account that many languages don't separate with spaces (Chinese, Japanese) and don't always have a value followed by a unit (Swedish).

I am interested working on this issue.

Now that #956 has been merged I think we can close this.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

adam-rudd-myob picture adam-rudd-myob  路  6Comments

liosha picture liosha  路  7Comments

jadchaar picture jadchaar  路  7Comments

rotten picture rotten  路  4Comments

LaurensBosscher picture LaurensBosscher  路  4Comments