What is the best way to change appearance of date January 27, 2010 to January 27, 2010, Wednesday?
Thank you. Victor
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
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.
What is the best way to change appearance of date January 27, 2010 to January 27, 2010, Wednesday?
Thank you. Victor
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..
Thanks! It works