question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support for ng-model-options timezone

See original GitHub issue

Issue: Date is always displayed in local time Expected: ng-model should respect the ng-model-options

Code: <input mdc-datetime-picker date="true" time="false" type="text" format="MM/DD/YYYY Z" show-todays-date ng-model="date" ng-model-options="{ timezone: 'utc' }" />

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:7

github_iconTop GitHub Comments

github_iconTop Results From Across the Web

Timezone Property of ngModelOptions of Angular-Ui ...
I'm hoping someone can give a brief explanation as to how that picker uses the timezone property of the ngModelOptions directive and whether ......
Read more >
Ng Model Options Timezone - CodePen
ng-model · "ctrl.datepickerDate" ; ng-model-options · "{timezone: 'UTC'}" ...
Read more >
ngModelOptions - AngularJS: API
timezone : Defines the timezone to be used to read/write the Date instance in the model for <input type="date" /> , <input type="time"...
Read more >
ng-material-datetimepicker - npm
Support moment utc or ng-model-options timezone. Updates. Date, Author, Description. 2018-06-15, hexadecy, Can hide Today button.
Read more >
Announcing the AngularJS Material v1.1.24 Release - DevIntent
datepicker : support ng-model-options timezone w/ MomentJS and datepicker now passes ng-model-options on to calendar (12562b0), closes #11945 ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found