CGCalendar and Daylight Saving Time

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
Uncle Pete
Forum Members
Forum Members
Posts: 18
Joined: Wed May 09, 2007 9:44 am

CGCalendar and Daylight Saving Time

Post 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.
JohnnyB
Dev Team Member
Dev Team Member
Posts: 731
Joined: Tue Nov 21, 2006 5:05 pm

Re: CGCalendar and Daylight Saving Time

Post 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.
"The art of life lies in a constant readjustment to our surroundings." -Okakura Kakuzo

--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--
Post Reply

Return to “Modules/Add-Ons”