My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 1771: With weekends: false, <th> class for first day is set to fc-sun instead of fc-mon
1 person starred this issue and may be notified of changes. Back to list
Status:  Done
Owner:  ----
Closed:  Aug 2013


Sign in to add a comment
 
Reported by m...@driftwoodinteractive.com, Apr 7, 2013
When weekends is set to false, the <th> class for the first day is incorrectly set to fc-sun instead of fc-mon. This appears to be a new bug in v1.6 as it was not present i v1.5.

In buildTable() I fixed by changing:

html += "<th class='fc-day-header fc-" + dayIDs[i] + " " + headerClass + "'/>";

to

var date = indexDate(i);
html += "<th class='fc-day-header fc-" + dayIDs[date.getDay()] + " " + headerClass + "'/>";


Aug 24, 2013
Project Member #1 adamrs...@gmail.com
fixed in recent versions
Status: Done
Sign in to add a comment

Powered by Google Project Hosting