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

refactor($locale): use en-us as generic built-in locale #12462

Closed
wants to merge 1 commit into from

Conversation

lgalfaso
Copy link
Contributor

Previously there was a custom built en-us locale that was included with
angular.js. This made likely that it would get out of sync with the real
en-us locale that is generated from the closure library.

This change removes that custom one and uses the generated one instead.
This also has the benefit of preventing the unwanted caught error on trying
to load ngLocale during angular bootstrap.

Closes #12134
Closes #8174

@lgalfaso lgalfaso force-pushed the locale-fix branch 6 times, most recently from 83939c1 to 0b5d6ae Compare July 29, 2015 16:06
Previously there was a custom built en-us locale that was included with
angular.js. This made likely that it would get out of sync with the real
en-us locale that is generated from the closure library.

This change removes that custom one and uses the generated one instead.
This also has the benefit of preventing the unwanted caught error on trying
to load `ngLocale` during angular bootstrap.

Closes angular#12134
Closes angular#8174
@caitp
Copy link
Contributor

caitp commented Jul 30, 2015

This also has the benefit of preventing the unwanted caught error on trying
to load ngLocale during angular bootstrap.

Nice =) The build code looks good to me, please assign a milestone and handle merging this one though.

@caitp caitp added this to the 1.4.x milestone Jul 30, 2015
@lgalfaso lgalfaso modified the milestones: 1.4.5, 1.4.x Jul 31, 2015
@lgalfaso lgalfaso closed this in 7b8a16b Jul 31, 2015
netman92 pushed a commit to netman92/angular.js that referenced this pull request Aug 8, 2015
Previously there was a custom built en-us locale that was included with
angular.js. This made likely that it would get out of sync with the real
en-us locale that is generated from the closure library.

This change removes that custom one and uses the generated one instead.
This also has the benefit of preventing the unwanted caught error on trying
to load `ngLocale` during angular bootstrap.

Closes angular#12462
Closes angular#12444
Closes angular#12134
Closes angular#8174
ggershoni pushed a commit to ggershoni/angular.js that referenced this pull request Sep 29, 2015
Previously there was a custom built en-us locale that was included with
angular.js. This made likely that it would get out of sync with the real
en-us locale that is generated from the closure library.

This change removes that custom one and uses the generated one instead.
This also has the benefit of preventing the unwanted caught error on trying
to load `ngLocale` during angular bootstrap.

Closes angular#12462
Closes angular#12444
Closes angular#12134
Closes angular#8174
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants