ngx-bootstrap
ngx-bootstrap copied to clipboard
datepicker and meridian time
Is possibile to use datepicker (with withTimepicker input) but use also meridian settings?
I need to use timepicker with 24h
Thanks, Nicola
This feature, along with others, were included in #6369 .
Where was this implemented exactly? I did not find any commits in #6396 or in the release notes. And how can this be configured?
Any update on this topic? This feature is missing in the datepicker although it is available in the timepicker. Any possibility to provide this option for the datepicker?
Hey. I also need to dynamically control if the timepicker in a datepicker uses 24h or 12h, and to my knowledge this isn't possible.
I'm able to change it by providing a custom TimepickerConfig where it sets showMeridian to false, but this doesn't seem to be a good solution due to not being able to change it during runtime.
It would be great to have an option in bsConfig for datepicker to use 24h or 12h. Or even better, look at the dateInputFormat or rangeInputFormat (i.e., look for 'HH' or 'hh') and modify the timepicker accordingly.