From 0dcbcb1926bb90357fa5be80a8a622c031511afd Mon Sep 17 00:00:00 2001 From: Pierre Donias Date: Tue, 19 Nov 2024 14:02:22 +0100 Subject: [PATCH] Add timezone --- packages/xo-web/src/xo-app/backup/new/index.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/xo-web/src/xo-app/backup/new/index.js b/packages/xo-web/src/xo-app/backup/new/index.js index f2c5df96256..63d72cbceba 100644 --- a/packages/xo-web/src/xo-app/backup/new/index.js +++ b/packages/xo-web/src/xo-app/backup/new/index.js @@ -277,6 +277,8 @@ const New = decorate([ settings[''].maxExportRate = undefined } + settings[''].timezone = DEFAULT_SCHEDULE.timezone + await createBackupNgJob({ name: state.name, mode: state.isDelta ? 'delta' : 'full', @@ -355,6 +357,8 @@ const New = decorate([ normalizedSettings[''].maxExportRate = undefined } + settings[''].timezone = DEFAULT_SCHEDULE.timezone + await editBackupNgJob({ id: props.job.id, name: state.name,