summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorChristopher Ng <chrng8@gmail.com>2023-08-08 16:01:20 -0700
committerAndy Scherzinger <info@andy-scherzinger.de>2023-08-10 12:28:19 +0200
commit6c89550bc65d2961e180ebe9c59fb17164ee3acf (patch)
tree05fcb5c64001a883f743f4fffbc5b5cc42b4d6fd /apps
parentf6a84410edfdd10a7eae0a814e3af219acdca910 (diff)
downloadnextcloud-server-6c89550bc65d2961e180ebe9c59fb17164ee3acf.tar.gz
nextcloud-server-6c89550bc65d2961e180ebe9c59fb17164ee3acf.zip
enh: move to 8am
Signed-off-by: Christopher Ng <chrng8@gmail.com> (cherry picked from commit ffd68a80fc5f44b7fa7b4a40a929d8bebb9d2bd3)
Diffstat (limited to 'apps')
-rw-r--r--apps/files_reminders/src/shared/utils.ts10
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/files_reminders/src/shared/utils.ts b/apps/files_reminders/src/shared/utils.ts
index f43f8da5a6d..5d223fe657d 100644
--- a/apps/files_reminders/src/shared/utils.ts
+++ b/apps/files_reminders/src/shared/utils.ts
@@ -44,7 +44,7 @@ export const getDateTime = (dateTime: DateTimePreset): Date => {
const day = moment()
.add(1, 'day')
.startOf('day')
- .add(9, 'hour')
+ .add(8, 'hour')
.toDate()
return day
},
@@ -54,11 +54,11 @@ export const getDateTime = (dateTime: DateTimePreset): Date => {
const saturday = moment()
.startOf('isoWeek')
.add(5, 'day')
- .add(9, 'hour')
+ .add(8, 'hour')
const sunday = moment()
.startOf('isoWeek')
.add(6, 'day')
- .add(9, 'hour')
+ .add(8, 'hour')
if (today.isSame(saturday, 'date')) {
return saturday
.add(1, 'day')
@@ -69,7 +69,7 @@ export const getDateTime = (dateTime: DateTimePreset): Date => {
.add(1, 'week')
.startOf('isoWeek')
.add(5, 'day')
- .add(9, 'hour')
+ .add(8, 'hour')
.toDate()
}
return saturday.toDate()
@@ -79,7 +79,7 @@ export const getDateTime = (dateTime: DateTimePreset): Date => {
const day = moment()
.startOf('isoWeek')
.add(1, 'week')
- .add(9, 'hour')
+ .add(8, 'hour')
.toDate()
return day
},