mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
c5894e08bc
To support compile time localization, we need to be able to provide the locales via a well known global property. This commit changes `getLocaleData()` so that it will attempt to read the local from the global `ng.common.locales` if the locale has not already been registered via `registerLocaleData()`. PR Close #33523