angular-datepicker icon indicating copy to clipboard operation
angular-datepicker copied to clipboard

Is it a bug

Open Mr-Luo opened this issue 11 years ago • 3 comments

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

Mr-Luo avatar Sep 11 '15 06:09 Mr-Luo

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.

erkanarslan avatar Sep 12 '15 21:09 erkanarslan

thanks,but i used to add an attribute ' format="yyyy-MM-dd" ' to get what i wanted

Mr-Luo avatar Oct 08 '15 08:10 Mr-Luo

That doesn't solve the timezone issue. It just formats the date.

erkanarslan avatar Oct 15 '15 12:10 erkanarslan