]> git.proxmox.com Git - proxmox-backup.git/commitdiff
ui: calendar event: enable more complex examples again
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 8 Sep 2020 07:04:35 +0000 (09:04 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 8 Sep 2020 14:48:31 +0000 (16:48 +0200)
now that they (should) work.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/form/CalendarEvent.js

index 440bbc5ceddac3a6ef1cea3b4b58143343938f75..7664eb89ff875764e4511284a34fef99339ae0b0 100644 (file)
@@ -4,15 +4,17 @@ Ext.define('PBS.data.CalendarEventExamples', {
 
     field: ['value', 'text'],
     data: [
-       //FIXME { value: '*/30', text: Ext.String.format(gettext("Every {0} minutes"), 30) },
+       { value: '*/30', text: Ext.String.format(gettext("Every {0} minutes"), 30) },
        { value: 'hourly', text: gettext("Every hour") },
-       //FIXME { value: '*/2:00', text: gettext("Every two hours") },
+       { value: '*/2:00', text: gettext("Every two hours") },
        { value: '2,22:30', text: gettext("Every day") + " 02:30, 22:30" },
        { value: 'daily', text: gettext("Every day") + " 00:00" },
        { value: 'mon..fri', text: gettext("Monday to Friday") + " 00:00" },
-       //FIXME{ value: 'mon..fri */1:00', text: gettext("Monday to Friday") + ': ' + gettext("hourly") },
+       { value: 'mon..fri *:00', text: gettext("Monday to Friday") + ', ' + gettext("hourly") },
        { value: 'sat 18:15', text: gettext("Every Saturday") + " 18:15" },
-       //FIXME{ value: 'monthly', text: gettext("Every 1st of Month") + " 00:00" }, // not yet possible..
+       { value: 'monthly', text: gettext("Every first day of the Month") + " 00:00" },
+       { value: 'sat *-1..7 02:00', text: gettext("Every first Saturday of the month") + " 02:00" },
+       { value: 'yearly', text: gettext("First day of the year") + " 00:00" },
     ],
 });