Ver código fonte

show week numbers as lang-specific numerals

Adam Shaw 11 anos atrás
pai
commit
a336681bc6
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      src/basic/BasicView.js

+ 1 - 1
src/basic/BasicView.js

@@ -129,7 +129,7 @@ var BasicView = fcViews.basic = View.extend({
 			return '' +
 				'<td class="fc-week-number" ' + this.weekNumberStyleAttr() + '>' +
 					'<span>' + // needed for matchCellWidths
-						this.dayGrid.getCell(row, 0).start.week() +
+						this.dayGrid.getCell(row, 0).start.format('w') +
 					'</span>' +
 				'</td>';
 		}