DayPilot.Navigator.weekNumberAlgorithm

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"

DayPilot for JavaScript, ASP.NET WebForms, ASP.NET MVC, Java