andrewplummer / Sugar

A Javascript library for working with native objects.
https://sugarjs.com/
MIT License
4.53k stars 305 forks source link

Can't parse Polish date with time #662

Open jikamens opened 4 years ago

jikamens commented 4 years ago

Sugar formats Polish datetimes as, e.g., "22 listopada 2019 0:00" but then can't parse the date that it just formatted. In particular, putting a time at the end of a Polish date/time string to be parsed breaks it.

I have started at the locale definitions for English and Polish until my eyes bleed, trying to figure out why English parses times at the end properly and Polish does not, and I can't figure it out. In particular, I can't see anything in the English definition that indicates that a time should be allowed at the end of a date, so I don't know what's missing from the Polish definition.

I am concerned that there has been no activity in this repository in many months. @andrewplummer are you still supporting this package? Can we expect fixes for the numerous open issues any time soon? Could you at least let us know what our expectations should be?