rd-dev-ukraine / angular-io-datepicker

MIT License
21 stars 18 forks source link

24-hour support #36

Closed akempes closed 6 years ago

akempes commented 6 years ago

Hi,

I really like this datetimepicker, but I was missing the 24-hour time format support as mentioned in #27.

This fork will handle it almost automatically. By default the picker will check to momentjs locale settings to see if the 12 or 24 hour format should be used. It's also overridable by adding the [isMeridiem]="true" attribute. true will give you the 12-hour format, false the 24-hour format.

I also updated the readme and the example page. If you have any questions, please let me know!