angular-datepicker
angular-datepicker copied to clipboard
Is it a bug
I used it with the code
<input class="form-control" date-time ng-model="yearSche.Start " view="date" min-view="date" auto-close="true" >
I set min-view="date" ,but the input value is " 2015-09-10 08:00."
It always append an oclock 08:00
This might happen due to timezone. Probably you are seeing the time in your timezone. If you set the timezone to UTC you should see the correct value.
thanks,but i used to add an attribute ' format="yyyy-MM-dd" ' to get what i wanted
That doesn't solve the timezone issue. It just formats the date.