logo

FullCalendar

weekNumberCalculation

The method for calculating week numbers that are displayed with the weekNumbers setting.

"local" (default), "ISO", or a function

Specifying "local" causes the locale-specific calculation to be used, as determined by the calendar’s locale setting. This is the default.

Specifiying "ISO" results in ISO8601 week numbers. Since v3.0, specifying "ISO" changes the default value of firstDay to 1 (Monday).

You may also specify a function, which must accept a single Moment and return an integer week number.