-
Notifications
You must be signed in to change notification settings - Fork 6.7k
uib-datepicker-popup : *Today* button does not count timezone #6147
Comments
Can you create a Plunker that demonstrates it? Here is a base you can work off of. Also, did you configure ng-model-options for the datepicker-options as well as the popup? |
Ah, I see what is the issue here - you did not set the model to a date object, but a string. If you set the model to We do not support string models. |
No, I provide Date object to model, I just wrote string representation to make it easier to understand, will write plunker for this and 6146 this evening |
yeah, I saw that you must also provide ngModelOptions with timezone information to dateOptions, if not provided it just does not count the right todays date in the popup, I found it looking in bootstrap.js code though, could not find it in docs.. |
Here is the plunker
|
Sorry, but I don't see that it was fixed, here is the updated plunker http://plnkr.co/edit/FztbDALRM3BsOFiPNgR2?p=preview (I changed only bootstrap version there to //angular-ui.github.io/bootstrap/ui-bootstrap-tpls-2.0.2.js) |
Still does not work for me, here is updated plunker. http://plnkr.co/edit/jKJY8X?p=preview
|
Still doesn't work in 2.5.0
|
To reproduce :
The text was updated successfully, but these errors were encountered: