diff options
author | Pascal Mugnier <pascal.mugnier@sonarsource.com> | 2018-08-08 11:25:44 +0200 |
---|---|---|
committer | SonarTech <sonartech@sonarsource.com> | 2018-08-09 20:20:51 +0200 |
commit | eabdc54edbad6ef9dea9b8521d544817c0f90c2a (patch) | |
tree | db4cee841b1430c977e5fdc80a4eb8708511ba8f /server/sonar-web/src/main/js/app/index.ts | |
parent | 8f2ecbafc86e3f561accfceb6d58ba1e0a1c0f61 (diff) | |
download | sonarqube-eabdc54edbad6ef9dea9b8521d544817c0f90c2a.tar.gz sonarqube-eabdc54edbad6ef9dea9b8521d544817c0f90c2a.zip |
SONAR-11121 Relative dates are not localized correctly
Diffstat (limited to 'server/sonar-web/src/main/js/app/index.ts')
-rw-r--r-- | server/sonar-web/src/main/js/app/index.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/app/index.ts b/server/sonar-web/src/main/js/app/index.ts index f1bb44ebaba..aec5ae9aa27 100644 --- a/server/sonar-web/src/main/js/app/index.ts +++ b/server/sonar-web/src/main/js/app/index.ts @@ -59,7 +59,7 @@ function loadMessages() { function loadLocaleData(langToLoad: string) { return Promise.all([import('react-intl/locale-data/' + langToLoad), import('react-intl')]).then( ([intlBundle, intl]) => { - intl.addLocaleData(intlBundle); + intl.addLocaleData(intlBundle.default); } ); } |