vendor/assets/javascripts/webshims/shims/forms-picker.js in webshims-rails-1.15.3 vs vendor/assets/javascripts/webshims/shims/forms-picker.js in webshims-rails-1.15.4
- old
+ new
@@ -1186,15 +1186,15 @@
str.push('</div><div class="picker-grid"><table role="grid" aria-label="'+ fullMonthName.join(' ') +'"><thead><tr>');
str.push('<th class="week-header ws-week">'+ dateCfg.weekHeader +'</th>');
- for(k = dateCfg.firstDay; k < dateCfg.dayNamesShort.length; k++){
- str.push('<th class="day-'+ k +'"><abbr title="'+ dateCfg.dayNames[k] +'">'+ dateCfg.dayNamesShort[k] +'</abbr></th>');
+ for(k = dateCfg.firstDay; k < dateCfg.dayNamesMin.length; k++){
+ str.push('<th class="day-'+ k +'"><abbr title="'+ dateCfg.dayNames[k] +'">'+ dateCfg.dayNamesMin[k] +'</abbr></th>');
}
k = dateCfg.firstDay;
while(k--){
- str.push('<th class="day-'+ k +'"><abbr title="'+ dateCfg.dayNames[k] +'">'+ dateCfg.dayNamesShort[k] +'</abbr></th>');
+ str.push('<th class="day-'+ k +'"><abbr title="'+ dateCfg.dayNames[k] +'">'+ dateCfg.dayNamesMin[k] +'</abbr></th>');
}
str.push('</tr></thead><tbody><tr class="ws-row-0">');
week = picker.getWeek(date);
str.push('<td class="week-cell ws-week" role="gridcell" aria-disabled="true">'+ week +'</td>');