Support for ng-model-options timezone
See original GitHub issueIssue: 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:
- Created 6 years ago
- Comments:7
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
https://github.com/beenote/angular-material-datetimepicker/releases/tag/v1.13.0
Ok fixed here: https://github.com/beenote/angular-material-datetimepicker/commit/d249b57031a30118d3569562db0ff4063ccb9962