Skip to content

Datepicker value is null after internationalization #6785

Closed
@ghost

Description

Bug, feature request, or proposal:

Datepicker Internationalization Bug

What is the expected behavior?

Getting date-picker's value properly after internationalization (tried with de-DE, tr-TR works fine with en-EN). It either evaluates to null or random value.

What is the current behavior?

Can't get value properly after internationalization.

What are the steps to reproduce?

Follow the steps here for internationalization https://material.angular.io/components/datepicker/overview#setting-the-locale-code

Then log (dateChange) event.value

What is the use-case or motivation for changing an existing behavior?

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

Angular 4, Material 2.0.0-beta.8, OSX El Capitan, TS 2.3.3, Chrome

Is there anything else we should know?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions