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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

All other Modules /

Discuss all other Modules here.

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

Event Calendar: including Day_of_the_Week


Go to End


3 Posts   1049 Views

Avatar
Victor

Community Member, 128 Posts

28 January 2010 at 1:50am

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

Thank you. Victor

Avatar
UncleCheese

Forum Moderator, 4102 Posts

28 January 2010 at 3:06am

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

Avatar
Victor

Community Member, 128 Posts

29 January 2010 at 11:39pm

Thanks! It works