aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/app/index.ts
diff options
context:
space:
mode:
authorPascal Mugnier <pascal.mugnier@sonarsource.com>2018-08-08 11:25:44 +0200
committerSonarTech <sonartech@sonarsource.com>2018-08-09 20:20:51 +0200
commiteabdc54edbad6ef9dea9b8521d544817c0f90c2a (patch)
treedb4cee841b1430c977e5fdc80a4eb8708511ba8f /server/sonar-web/src/main/js/app/index.ts
parent8f2ecbafc86e3f561accfceb6d58ba1e0a1c0f61 (diff)
downloadsonarqube-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.ts2
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);
}
);
}