Jump to:

10930 Posts in 2613 Topics by 1810 members

All other Modules

SilverStripe Forums » All other Modules » Event Calendar: including Day_of_the_Week

Discuss all other Modules here.

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

Page: 1
Go to End
Author Topic: 686 Views
  • Victor
    Avatar
    Community Member
    128 Posts

    Event Calendar: including Day_of_the_Week Link to this post

    What is the best way to change appearance of date January 27, 2010 to January 27, 2010, Wednesday?

    Thank you. Victor

  • UncleCheese
    Avatar
    4085 Posts

    Re: Event Calendar: including Day_of_the_Week Link to this post

    You can use the $customDateTemplates array in your _config.php. Look in event_calendar/_config.php and there is some documentation in there on how to use different keys to represent components of a date. You can put them all in that $customDateTemplates array.

    You will have to update the date display for several scenarios -- same month, different day, same year, different month, etc..

  • Victor
    Avatar
    Community Member
    128 Posts

    Re: Event Calendar: including Day_of_the_Week Link to this post

    Thanks! It works

    686 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.