jkroso / parse-duration

convert a human readable duration to ms
MIT License
243 stars 36 forks source link

[feature request] Support for verbose number representation #27

Closed jay-khatri closed 4 years ago

jay-khatri commented 4 years ago

Hi, any thoughts on supporting spelled out numbers. E.g. "one hour" and "twenty four days"?

dy commented 4 years ago

Hey. Definitely not, parsing written numbers is the concern outside of this package. Iā€™d propose parsing/replacing spelled numbers first with some tool and then feeding them here.

On Sun, Sep 20, 2020 at 12:36 PM Jay Khatri notifications@github.com wrote:

Hi, any thoughts on supporting spelled out numbers. E.g. "one hour" and "twenty four days"?

ā€” You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jkroso/parse-duration/issues/27, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACJIIZOBRH3CKH4AK3FSLTSGYVPLANCNFSM4RTXHH5A .

jay-khatri commented 4 years ago

sounds good šŸ†— šŸ‘Œ