[pve-devel] [PATCH manager 3/4] change order of weekdays

Dominik Csapak d.csapak at proxmox.com
Thu Apr 7 13:29:25 CEST 2016


to be consistent with the grid

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 www/manager6/form/DayOfWeekSelector.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/www/manager6/form/DayOfWeekSelector.js b/www/manager6/form/DayOfWeekSelector.js
index 09f8754..e855462 100644
--- a/www/manager6/form/DayOfWeekSelector.js
+++ b/www/manager6/form/DayOfWeekSelector.js
@@ -5,13 +5,13 @@ Ext.define('PVE.form.DayOfWeekSelector', {
     initComponent: function(){
 	var me = this;
 	me.comboItems = [
-	    ['sun', Ext.util.Format.htmlDecode(Ext.Date.dayNames[0])],
 	    ['mon', Ext.util.Format.htmlDecode(Ext.Date.dayNames[1])],
 	    ['tue', Ext.util.Format.htmlDecode(Ext.Date.dayNames[2])],
 	    ['wed', Ext.util.Format.htmlDecode(Ext.Date.dayNames[3])],
 	    ['thu', Ext.util.Format.htmlDecode(Ext.Date.dayNames[4])],
 	    ['fri', Ext.util.Format.htmlDecode(Ext.Date.dayNames[5])],
-	    ['sat', Ext.util.Format.htmlDecode(Ext.Date.dayNames[6])]
+	    ['sat', Ext.util.Format.htmlDecode(Ext.Date.dayNames[6])],
+	    ['sun', Ext.util.Format.htmlDecode(Ext.Date.dayNames[0])],
 	];
 	this.callParent();
     }
-- 
2.1.4





More information about the pve-devel mailing list