diff --git a/CHANGELOG.unreleased.md b/CHANGELOG.unreleased.md index 9760146fc..51590e130 100644 --- a/CHANGELOG.unreleased.md +++ b/CHANGELOG.unreleased.md @@ -3,6 +3,7 @@ ### Enhancements - [Settings/remotes] Expose mount options field for SMB [#4063](https://github.com/vatesfr/xen-orchestra/issues/4063) (PR [#4067](https://github.com/vatesfr/xen-orchestra/pull/4067)) +- [Backup/Schedule] Add warning regarding DST when you add a schedule [#4042](https://github.com/vatesfr/xen-orchestra/issues/4042) (PR [#4056](https://github.com/vatesfr/xen-orchestra/pull/4056)) ### Bug fixes diff --git a/packages/xo-web/src/common/intl/messages.js b/packages/xo-web/src/common/intl/messages.js index 51289d7ab..255024cf3 100644 --- a/packages/xo-web/src/common/intl/messages.js +++ b/packages/xo-web/src/common/intl/messages.js @@ -430,6 +430,8 @@ const messages = { 'This will migrate this backup to a backup NG. This operation is not reversible. Do you want to continue?', runBackupNgJobConfirm: 'Are you sure you want to run {name} ({id})?', cancelJobConfirm: 'Are you sure you want to cancel {name} ({id})?', + scheduleDstWarning: + 'If your country participates in DST, it is advised that you avoid scheduling jobs at the time of change. e.g. 2AM to 3AM for US.', // ------ New backup ----- newBackupAdvancedSettings: 'Advanced settings', diff --git a/packages/xo-web/src/common/scheduling.js b/packages/xo-web/src/common/scheduling.js index 3db149eb1..98ba3fa0f 100644 --- a/packages/xo-web/src/common/scheduling.js +++ b/packages/xo-web/src/common/scheduling.js @@ -1,4 +1,5 @@ import classNames from 'classnames' +import Icon from 'icon' import PropTypes from 'prop-types' import React from 'react' import { createSchedule } from '@xen-orchestra/cron' @@ -457,6 +458,9 @@ export default class Scheduler extends Component { return (