jtsage / jtsage-datebox

A multi-mode date and time picker for Bootstrap (3&4), jQueryMobile, Foundation, Bulma, FomanticUI, and UIKit (or others)
http://datebox.jtsage.dev/
Other
474 stars 166 forks source link

jquery Mobile calBox Issue: calWeekModeFirstDay not accepting values other than 1 #318

Closed vikkerkar closed 10 years ago

vikkerkar commented 10 years ago

In the documentation, it mentions: "Using a calendar to select a specific day can be accomplished by setting option 'calWeekMode' to 'true' and 'calWeekModeFirstDay' to the day you wish to pick. For instance, to select by week using monday:" However, when we set the calWeekModeFirstDay to a value other than 1, it has no effect and calWeekModeFirstDay always appears to revert back to 1, which is the second day in the week. Can you please assist as I am trying to get Wednesday (3) as the calWeekModeFirstDay ?

jtsage commented 10 years ago

yeah, my bad - it's because the option is names "calWeekModeDay" - updated in the docs. Sorry bout that.