You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I select date and time in date-picker value in input it is displayed as GMT but it is stored in ng-model as UTC.
I want the date to be stored as UTC and displayed as UTC.
This is what picker displays:
And this is what it saves:
Thanks.
The text was updated successfully, but these errors were encountered:
I fixed my issue by using
ng-model-options="{timezone: 'UTC'}"
Btw when clicking 'Now' button while selecting the time, can I force the
hour to be one hour in the past? E.g My local Time (Poland) is 15:00 but I
want To set the hour to 14:00 when pressing "Now"?
2018-03-03 11:42 GMT+01:00 Gillardo <[email protected]>:
Hello
If I select date and time in date-picker value in input it is displayed as GMT but it is stored in ng-model as UTC.
I want the date to be stored as UTC and displayed as UTC.
This is what picker displays:
And this is what it saves:
Thanks.
The text was updated successfully, but these errors were encountered: