summaryrefslogtreecommitdiffstats
path: root/src/components
diff options
context:
space:
mode:
authorGeorg Ehrke <developer@georgehrke.com>2019-10-25 11:56:13 +0200
committerGeorg Ehrke <developer@georgehrke.com>2019-10-25 11:56:13 +0200
commit953bda287bed017ca5a98d747ad23776bbb9c3b1 (patch)
treefd564315d983a04c84ff01b41136e39342f5d7bc /src/components
parent35dcef872679e0ccd9c09e144f26f20330eb43f2 (diff)
Fix first day of datepicker
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
Diffstat (limited to 'src/components')
-rw-r--r--src/components/Properties/PropertyDateTime.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/Properties/PropertyDateTime.vue b/src/components/Properties/PropertyDateTime.vue
index 8e49bb56..a9b2cce2 100644
--- a/src/components/Properties/PropertyDateTime.vue
+++ b/src/components/Properties/PropertyDateTime.vue
@@ -111,7 +111,7 @@ export default {
// locale and lang data
locale: 'en',
- firstDay: window.firstDay + 1, // provided by nextcloud
+ firstDay: window.firstDay === 0 ? 7 : window.firstDay, // provided by nextcloud
lang: {
days: window.dayNamesShort, // provided by nextcloud
months: window.monthNamesShort, // provided by nextcloud