Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

feat(date): Use localized patterns for shorthand format #1030

Closed
wants to merge 1 commit into from

Conversation

vicb
Copy link
Contributor

@vicb vicb commented May 10, 2014

closes #1019

/cc @naomiblack

expect(Intl.withLocale('fr', () => date(noon, "medium"))).
toEqual('sept. 3, 2010 12:05:08 PM');
toEqual('3 sept. 2010 12:05:08');
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one is definitely right for France

@jbdeboer
Copy link
Contributor

@naomiblack Could you review this change?

@vicb
Copy link
Contributor Author

vicb commented May 22, 2014

@naomiblack I have updated the PR to use "# Usage" as "# Example" like other formatters.

The PR is ready for review :)

@naomiblack
Copy link
Contributor

Thanks Vic! Looks good. I've sent it to the presubmit queue.

@vicb
Copy link
Contributor Author

vicb commented May 23, 2014

merged fb1bcf4

@vicb vicb closed this May 23, 2014
@vicb vicb deleted the 0510-date branch July 20, 2014 10:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

Successfully merging this pull request may close these issues.

[Formatter] the date formatter formats are not localizable
3 participants