Gillardo / bootstrap-ui-datetime-picker

AngularJs directive to allow use of the bootstrap UI date/time pickers in a single dropdown
MIT License
306 stars 168 forks source link

Define show-meridian as property of timepickerOptions #227

Closed Chabana closed 6 years ago

Chabana commented 6 years ago

Great job for a great directive. thanks

I'm using bootstrap-ui-datetime-picker and I'd like to set show-meridian to false as a property of timepickerOptions. How to do that ?

``<input datetime-picker="dd.MM.yyyy, HH:mm" timepickerOptions="{'show-meridian': 'false'}" is-open="ctrl.date.showFlag" ng-model="ctrl.date.value" />

this is a plnkr to illustrate what I want.

All the best.

Chabana commented 6 years ago

https://stackoverflow.com/questions/52779441/ui-bootstrap-datetime-picker-define-show-meridian-to-false