diosney / angular-bootstrap-datetimepicker-directive

A wrapper directive around the bootstrap-datetimepicker component.
MIT License
69 stars 50 forks source link

format #14

Open hawlik opened 9 years ago

hawlik commented 9 years ago

Hi, I have some problems with model binding and proper formatting.

1) when I bind input to scope variable by ng-model and set format to display only a time (ex HH:mm:ss) instead of hour:minutes:seconds it set dayOfMonth:minutes:seconds as a default control value 2) when I set no format options default control value is not set at all

plnkr with my examples is here: http://plnkr.co/edit/3WpEZfDLwk4gPpqyj0G4

cheers Tomek