Commit daab9d52 authored by Dietmar Maurer's avatar Dietmar Maurer

fix off by one bug in DayOfWeekSelector

parent b4fd23b7
...@@ -6,13 +6,13 @@ Ext.define('PVE.form.DayOfWeekSelector', { ...@@ -6,13 +6,13 @@ Ext.define('PVE.form.DayOfWeekSelector', {
var me = this; var me = this;
me.data = [ me.data = [
['mon', Ext.Date.dayNames[0]], ['sun', Ext.Date.dayNames[0]],
['tue', Ext.Date.dayNames[1]], ['mon', Ext.Date.dayNames[1]],
['wed', Ext.Date.dayNames[2]], ['tue', Ext.Date.dayNames[2]],
['thu', Ext.Date.dayNames[3]], ['wed', Ext.Date.dayNames[3]],
['fri', Ext.Date.dayNames[4]], ['thu', Ext.Date.dayNames[4]],
['sat', Ext.Date.dayNames[5]], ['fri', Ext.Date.dayNames[5]],
['sun', Ext.Date.dayNames[6]] ['sat', Ext.Date.dayNames[6]]
]; ];
me.callParent(); me.callParent();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment