Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DatePicker] Add support for built-in en-US locale #4161

Merged
merged 1 commit into from
May 5, 2016
Merged

[DatePicker] Add support for built-in en-US locale #4161

merged 1 commit into from
May 5, 2016

Conversation

mbrookes
Copy link
Member

@mbrookes mbrookes commented May 4, 2016

  • PR has tests / docs demo, and is linted.
  • Commit and PR titles begin with [ComponentName], and are in imperative form: "[Component] Fix leaky abstraction".
  • Description explains the issue / use-case resolved, and auto-closes the related issue(s) (http://tr.im/vFqem).

0.15.0-alpha.1 introduced a breaking change to support ISO 8601 as the default date format.
This PR makes reverting to the previous behavior of displaying a US formatted date simpler,
by allowing the 'en-US' locale, without requiring DateTimeFormat to be provided.

In addition, the example descriptions are moved to code comments.

@mbrookes mbrookes added this to the 0.15.0 Release milestone May 4, 2016
0.15.0-alpha.1 introduced a breaking change to support ISO 8601 as the default date format.
This PR makes reverting to the previous behavior of displaying a US formatted date simpler,
by allowing the en-US locale, without requiring `DateTimeFormat` to be provided.

In addition, the example descriptions are moved to code comments.
@alitaheri alitaheri merged commit fd56b96 into mui:master May 5, 2016
@mbrookes mbrookes deleted the datepicker-builtin-datetimeformat branch January 20, 2018 22:36
@zannager zannager added component: date picker This is the name of the generic UI component, not the React module! component: pickers This is the name of the generic UI component, not the React module! labels Mar 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: date picker This is the name of the generic UI component, not the React module! component: pickers This is the name of the generic UI component, not the React module!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants