Open PhilDore11 opened 6 years ago
Issue: Date is always displayed in local time Expected: ng-model should respect the ng-model-options
ng-model
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' }" />
<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: Date is always displayed in local time Expected:
ng-model
should respect theng-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' }" />