OleksaDid / iso-country-currency

MIT License
24 stars 13 forks source link

Parsing date format? #19

Open jjjrmy opened 2 years ago

jjjrmy commented 2 years ago

Is there a suggested method for parsing the date?

OleksaDid commented 1 year ago

Hi @jjjrmy,

I don't have an answer for this question and some added date formats actually look very local. Like, Thailand has "๓/๖/๒๕๕๕", which can't be parsed at all, I think.

My suggestion is to convert all these dateFormats to parsable strings, that can be used with moment.js let's say.

I might work on this later, but if you wish to contribute - you are welcome!