bevacqua / rome

:calendar: Customizable date (and time) picker. Opt-in UI, no jQuery!
https://bevacqua.github.io/rome
MIT License
2.91k stars 223 forks source link

Allow calendar to work with any numerals #172

Closed cttibbetts closed 1 year ago

cttibbetts commented 8 years ago

Because of the use of the text string and parseInt() to get the date value from the calendar, rome was breaking when localized to a system that does not use western-arabic numerals [0, 1, 2, 3...].

By adding the moment.date() value to a custom attributes tag, data-date, we can be sure that the value returned will always be the correct date value.

cttibbetts commented 1 year ago

Closing because project is dead.