Jump to:

10928 Posts in 2612 Topics by 1809 members

All other Modules

SilverStripe Forums » All other Modules » Event Calendar start on Sunday

Discuss all other Modules here.

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

Page: 1
Go to End
Author Topic: 1332 Views
  • Terry Apodaca
    Avatar
    Community Member
    109 Posts

    Event Calendar start on Sunday Link to this post

    Is there a setting or maybe a simple way to get the Event Calendar to start on Sunday instead of Monday?

    I've looked in the _config file and even in the lang file but nothing looked like a setting to change the start of the calendar.

  • Terry Apodaca
    Avatar
    Community Member
    109 Posts

    Re: Event Calendar start on Sunday Link to this post

    Is this just real simple and I am overlooking it or is this just not possible right now?

  • UncleCheese
    Avatar
    4085 Posts

    Re: Event Calendar start on Sunday Link to this post

    It actually isn't that easy. It would require a lot of changes. When I built the module I decided to accommodate the other 90% of the world rather than lock them all into a US localization.

  • Terry Apodaca
    Avatar
    Community Member
    109 Posts

    Re: Event Calendar start on Sunday Link to this post

    Hmmmm...ok...I've told the client I can't look into this until the beginning of March. Maybe I can find some time to hack into a test install of the module.

  • ThyRaven
    Avatar
    Community Member
    3 Posts

    Re: Event Calendar start on Sunday Link to this post

    Any luck on this? Trying to figure it out myself and I am having some difficulties. Is the developer willing to help those that want a US version?

  • Terry Apodaca
    Avatar
    Community Member
    109 Posts

    Re: Event Calendar start on Sunday Link to this post

    I haven't had the time to look more into this yet, but I will. UncleCheese is the developer (commented above) and he says it'll be pretty difficult. Oh, and fyi...he's from the US.

    When I have some time I will hack into the module and see what I can do. Until then, I would imagine UncleCheese would be open to requests like this for future releases...just ask him.

  • deangrell
    Avatar
    Community Member
    1 Post

    Re: Event Calendar start on Sunday Link to this post

    Correct me if I'm wrong, but I just changed line 29 of event_calendar/javascript/jquery.date.js to

    Date.firstDayofWeek = 0;

    Did the trick for me!

  • Saurayuit
    Avatar
    Community Member
    5 Posts

    Re: Event Calendar start on Sunday Link to this post

    Dear deangrell,

    Thank you. That work fine for me

    1332 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.