Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

mdDatepicker: Not updated correctly with ng-model-options timezone #9989

Closed
@ghost

Description

Actual Behavior:

  • What is the issue? * Using md-datetime with ng-model-options="{timezone: '-0500'}", shown value is not updated in accordance with the time zone like Input component.

Not updated correctly
<md-datepicker ng-model="myDate" ng-model-options="{timezone:myDateTimeZone}"></md-datepicker>
Updated correctly
<input type="date" ng-model="myDate" ng-model-options="{timezone:myDateTimeZone}" />

Setting the date using the md-datepicker, the value is set properly.

CodePen (or steps to reproduce the issue): *

Angular Versions: *

  • Angular Version: 1.5.8
  • Angular Material Version: 1.1.0

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions