
[Solved] CGCalendar - time display format
-
bobyelland
- New Member

- Posts: 4
- Joined: Mon Apr 21, 2014 9:23 am
[Solved] CGCalendar - time display format
Hi - I am using CMS 1.11.10 with CGCalendar 1.13.4 and have just taken over the website (so am new to CMS Made Simple). I am using CGCalendar to display a series of events - but they show the time format as HH:MM:SS following the date. How do I remove the seconds? I can't see any option to do this.


Last edited by bobyelland on Sat May 10, 2014 8:51 pm, edited 1 time in total.
Re: CGCalendar - time display format
In Site admin > global setting > Date Format String:...
Not sure if that will effect the Calendar, if not you may have to edit the calendar template and change each instance of the time calls...
Not sure if that will effect the Calendar, if not you may have to edit the calendar template and change each instance of the time calls...
Re: CGCalendar - time display format
Additionally you can use the cms_date_format modifier on CGCalendar templates to alter the format of displayed dates. Check the help in CMSMS tags on how to use it.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
-
bobyelland
- New Member

- Posts: 4
- Joined: Mon Apr 21, 2014 9:23 am
Re: CGCalendar - time display format
Many thanks for the prompt reply - however changing the date format only seems to affect the "date" part and still appends the time in the original format to the end!


-
staartmees
- Power Poster

- Posts: 1049
- Joined: Wed Mar 19, 2008 4:54 pm
Re: CGCalendar - time display format
You also need to change the CGCalender template you use. Remove the hh:mm.
-
bobyelland
- New Member

- Posts: 4
- Joined: Mon Apr 21, 2014 9:23 am
Re: CGCalendar - time display format
Many thanks - the problem was in the detail template for the CGCalendar. Now all solved!
-
staartmees
- Power Poster

- Posts: 1049
- Joined: Wed Mar 19, 2008 4:54 pm
Re: CGCalendar - time display format
Please add [Solved] to the Subject


