瀏覽代碼

HUE-2784 [oozie] Coordinator editor generate wrong Monday cron expression

Made the week start on Sunday
Enrico Berti 10 年之前
父節點
當前提交
62d60d5
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      apps/oozie/src/oozie/templates/utils.inc.mako

+ 1 - 1
apps/oozie/src/oozie/templates/utils.inc.mako

@@ -544,7 +544,7 @@ var cron_i18n = {
     error2: '${_('Bad number of elements')}',
     error3: '${_('The jquery_element should be set into jqCron settings')}',
     error4: '${_('Unrecognized expression')}',
-    weekdays: ['${_('monday')}', '${_('tuesday')}', '${_('wednesday')}', '${_('thursday')}', '${_('friday')}', '${_('saturday')}', '${_('sunday')}'],
+    weekdays: ['${_('sunday')}', '${_('monday')}', '${_('tuesday')}', '${_('wednesday')}', '${_('thursday')}', '${_('friday')}', '${_('saturday')}'],
     months: ['${_('january')}', '${_('february')}', '${_('march')}', '${_('april')}', '${_('may')}', '${_('june')}', '${_('july')}', '${_('august')}', '${_('september')}', '${_('october')}', '${_('november')}', '${_('december')}']
 }
 function renderCrons() {