Closed pilouk closed 7 years ago
I am actually having the opposite problem. It seems to display in the local timezone, but the model value is UTC. You don't see the same thing?
Edit: What version are you using? Maybe it was updated at some point?
Ur right i realize it when i pushed it to my server. So it's solved my problem
On Aug 7, 2017 9:02 AM, "Kelly Kiernan" notifications@github.com wrote:
I am actually having the opposite problem. It seems to display in the local timezone, but the model value is UTC. You don't see the same?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/indrimuska/angular-moment-picker/issues/194#issuecomment-320657219, or mute the thread https://github.com/notifications/unsubscribe-auth/ABwWegSWqBSqb8qal-dVuzSJIKYjx4Yvks5sVwrogaJpZM4N74rn .
Is there a way that the ng model is the UTC of the current selected date ?
ng-model-options="{timezone: 'utc'}" doesn't seem to be supported