danielmoncada / date-time-picker

Angular Date Time Picker (Responsive Design)
https://daniel-projects.firebaseapp.com/owlng/date-time-picker
MIT License
140 stars 60 forks source link

Allow customization for strings #128

Closed jnthnwn closed 2 years ago

jnthnwn commented 3 years ago

It would be useful to allow the user to customize the display text for the different UI elements and defaulting to the strings defined by OWL_DATE_TIME_LOCALE. For example, specifying MTWTFSS for the days of the week instead of short form (e.g. Mon) at the top of the calendar, or setting different text for the cancel/set buttons.

dsnoeck commented 3 years ago

See: https://danielykpan.github.io/date-time-picker/#locale-formats And also: https://github.com/danielmoncada/date-time-picker/issues/54