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.

date picker: support string representation of date as a model #9535

@jayeshanandani

Description

@jayeshanandani

Actual Behavior:

  • What is the issue? * The date picker invalidates the valid ISO 8601 formatted string. It should allow to parseDate in mdLocaleProvider.
  • What is the expected behavior? The parseDate function should fire prior to date picker throwing the error for string type or inbuilt support for valid ISO 8601 string format.
    This has been already raised earlier: md-datepicker: support string representation of date as a model #6253

Angular Versions: *

  • Angular Version: 1.5.x
  • Angular Material Version: 1.1.1

Additional Information:

  • Browser Type: * Chrome
  • Browser Version: * Latest
  • OS: * MAC , El Captain
  • Stack Traces:

Shortcut to create a new CodePen Demo.
Note: * indicates required information. Without this information, your issue may be auto-closed.

Do not modify the titles or questions. Simply add your responses to the ends of the questions.
Add more lines if needed.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions