diff options
author | Raimund Schlüßler <raimund.schluessler@mailbox.org> | 2018-09-21 22:26:56 +0300 |
---|---|---|
committer | Raimund Schlüßler <raimund.schluessler@mailbox.org> | 2019-01-25 22:36:27 +0300 |
commit | 94f77a95161125f7c270b07bcb6a57b57b492cd9 (patch) | |
tree | f1b4941e305ae1b90d842c64229dc2f695ac63e6 /src/main.js | |
parent | c57157c874ad6e79c3662541511aa1e816939712 (diff) |
Configure moment locale according to server locale
Diffstat (limited to 'src/main.js')
-rw-r--r-- | src/main.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.js b/src/main.js index ba1ffff2..407043b9 100644 --- a/src/main.js +++ b/src/main.js @@ -71,6 +71,8 @@ OCA.Tasks.App = new Vue({ } }, beforeMount() { + // Configure the locale of moment.js + moment.locale(OC.getLocale().replace('_', '-').toLowerCase()) this.$store.dispatch('loadCollections') this.$store.dispatch('loadSettings') }, |