Design and CSS styles
Version 4.x > Design and CSS styles > Calendar: first day of week View modes: 
User avatar
Member
Member
brian-hedtec - 4/13/2011 9:39:27 AM
   
Calendar: first day of week
I just need the calendar to start on Sunday instead of Monday... can't figure it out!

http://steeplecats.com/Schedule.aspx

I tried adding the "FirstDayOfWeek" property (like in the base .net component, to no avail:


<cms:CMSCalendar ID="calItems" runat="server" VisibleDate="06/01/2011" DayField="DocumentModifiedWhen" NextMonthText="Next Month >> " PrevMonthText=" << Previous Month" FirstDayOfWeek="Sunday">
<TitleStyle><Font Bold="True" Size="20"></Font>
</TitleStyle>
</cms:CMSCalendar>


Should I be doing that somewhere else? Anywhere in the code that I can make a change?

Seems like an easy one, but it's driving me nuts! please help :)

b.

User avatar
Member
Member
brian-hedtec - 4/13/2011 10:24:30 AM
   
RE:Calendar: first day of week
A followup... it appears as though if I have a "skinID" for my calendar skin... the calendar starts on Monday... if I remove the skin (ie, no skin listed) it defaults to Sunday.

Any ideas?

User avatar
Member
Member
brian-hedtec - 4/13/2011 12:49:55 PM
   
RE:Calendar: first day of week
Got it! It is set in the skin, and was overriding what I put in the control. After changing the skin... we are all set!

b/