Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

adding base formats for date and time to complement the custom available formats #111

Merged
merged 1 commit into from
Jun 19, 2015

Conversation

caridy
Copy link
Collaborator

@caridy caridy commented Jun 18, 2015

fixes #107

This PR will expand the metadata to use timeFormats, and dateFormats from CLDR as a way to provide basic formatting capabilities instead of only relying on custom available formats. This should now matches what browsers are supporting.

Note: the huge diff that you see is because another PR that fixes the narrow value for calendars, which was never released in rc-1 or rc-2

@caridy
Copy link
Collaborator Author

caridy commented Jun 18, 2015

@andyearnshaw this seems to be the key. It works locally for me. Please, do a quick review, and we can release rc-3.

@caridy
Copy link
Collaborator Author

caridy commented Jun 19, 2015

Tests are now passing locally. I have also confirmed that we are adding 8 new format patterns (4 dateFormats, 4 timeFormats) when the polyfill process the data in the client, I think we are good here.

andyearnshaw added a commit that referenced this pull request Jun 19, 2015
adding base formats for date and time to complement the custom available formats
@andyearnshaw andyearnshaw merged commit 0622dc0 into andyearnshaw:master Jun 19, 2015
@andyearnshaw
Copy link
Owner

I didn't even realise #77 was already done, it's sad that I'm out of touch with my own creation! 😞

This is great work, though, @caridy. I've given it a quick test and everything looks great.

@caridy caridy deleted the base-formats branch June 19, 2015 14:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Long month is shown as short month
2 participants