DayPilot.Navigator.weekNumberAlgorithm

The weekNumberAlgorithm property determines the algorithm to be used when calculating week numbers.

Declaration

DayPilot.Navigator.weekNumberAlgorithm

Possible Values

  • "Auto" - it will resolve to "ISO8601" for weekStarts = 1 (otherwise it uses "US").
  • "US" - uses Sunday as the first day of week
  • "ISO8601" - week numbers calculated according to ISO 8601 (assumes Monday as the first day of week, the first week must include Thursday)

Default Value

"Auto"