Page 1 of 1

CGCalendar and Daylight Saving Time

Posted: Thu Mar 05, 2015 10:50 am
by Uncle Pete
I'm on CGCalendar 1.14.5 and CGExtensions 1.45.

My problem must have been encountered before but I'm getting nowhere trawling the forums for it.

I'm importing a bunch of events that are taking place in Daylight Saving Time (it's an exam calendar for the summer) and I'm specifying the time in UTC (so 7:45 GMT for an event starting at 8:45 in +1 DST).

When I view the event in the admin backend, it is correctly displaying as 8:45. When I view it on the public front end it is showing 7:45. Presumably this will be a straightforward change to the template, but I'm not quite sure what change to make.

Thoughts, ideas and input all welcomed.

Re: CGCalendar and Daylight Saving Time

Posted: Wed Mar 11, 2015 9:09 pm
by JohnnyB
Maybe there is a flag you can use in the php strftime? I haven't checked but you might start there and then you can add it to your |date_format modifier in the template.