Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

All other Modules

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Event Calendar modification


Reply

3 Posts   1199 Views

Avatar
dryfly

25 September 2009 at 9:57am Community Member, 2 Posts

I apologize if this has been answered elsewhere, but I did not find anything.

Is there a way to change the calendar widget to start the week on Sunday (traditional US) instead of Monday. I have seen it on a couple instances, but I can't find any documentation for it.

Thank you,

-Todd

Avatar
UncleCheese

25 September 2009 at 11:20am 4085 Posts

No. :(

I hacked that thing to pieces to get it to do what I wanted to, and by the time I realized that I was doing a great disservice to Europeans by starting the week on Sunday, it was far too late to make it a configurable option.

I'm wondering if you would have better luck with LiveCalendarWidget. The advantages being:

1) It's PHP based rather than Javascript based, and I believe PHP's locale awareness will return Monday for the 0th day of the week, but I'm not sure.

2) You can create your own template. Just copy the LiveCalendarWidget.ss into your theme directory templates/ folder, run a build, and hack away!

Avatar
janulka

24 June 2010 at 11:56pm Community Member, 80 Posts

anybody plz who has modified LiveCalendarWidget.ss to start the day on monday, could you post the code?

thank you :)