» Forums
» The DHTML Calendar
» General discussion
» Disable First Day of Week Feature
Disable First Day of Week Feature
2005/03/30 18:40
Viewed 11473 times
Replies: 1/3

First off..this control is fantastic! I would like to know if there a way to disable the feature that allows a user to modify the first day of the week? I have a very 'simple' user base and would like to eliminate any chance of confusion. Thanks much!

Re: Disable First Day of Week Feature
2005/03/30 18:52
Viewed 14527 times
Replies: 1/2

Err, not quite possible yet, but the idea is good. :-) We'll keep it in mind for the next version.

/me thinks .oO( after spending a lot of time adding features, we now have to spend time allowing folks to disable them :)) I guess that's how things go with software... )

last
Re[2]: Disable First Day of Week Feature
2005/03/30 19:06
Viewed 17410 times
Replies: 1/1

Thanks for the quick reply!

I did manage to disable it. Hopefully, I didn't break anything else. My solution was to comment out the call to Calendar._add_evs(cell); on line 1532 in the Calendar.prototype._displayWeekdays function. Any idea of any adverse effects of this change?

last
Google