ui: fix calendarevent examples

*/x is valid syntax for us, but not systemd, so to not confuse users
write it like systemd would accept it

also an timespec must at least have hours and minutes

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2020-09-11 10:35:26 +02:00 committed by Dietmar Maurer
parent 13bed6226e
commit ed4f0a0edc
1 changed files with 2 additions and 2 deletions

View File

@ -4,9 +4,9 @@ Ext.define('PBS.data.CalendarEventExamples', {
field: ['value', 'text'], field: ['value', 'text'],
data: [ data: [
{ value: '*/30', text: Ext.String.format(gettext("Every {0} minutes"), 30) }, { value: '*:0/30', text: Ext.String.format(gettext("Every {0} minutes"), 30) },
{ value: 'hourly', text: gettext("Every hour") }, { value: 'hourly', text: gettext("Every hour") },
{ value: '*/2:00', text: gettext("Every two hours") }, { value: '0/2:00', text: gettext("Every two hours") },
{ value: '2,22:30', text: gettext("Every day") + " 02:30, 22:30" }, { value: '2,22:30', text: gettext("Every day") + " 02:30, 22:30" },
{ value: 'daily', text: gettext("Every day") + " 00:00" }, { value: 'daily', text: gettext("Every day") + " 00:00" },
{ value: 'mon..fri', text: gettext("Monday to Friday") + " 00:00" }, { value: 'mon..fri', text: gettext("Monday to Friday") + " 00:00" },