HTML Logo by World Wide Web Consortium ( Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.

Scheduled Events are using GMT and not my time zone.

Login / Search

 [ Join | More ]
 Add topic 
#101145 (In Topic #19842)

Honoured member

When I schedule events, whether it be an all day event or a timed event, my scheduler seems to be operating on GMT time and not my time zone.  We are -6 of GMT, so when it is 12:00am December 1st GMT it is 6:00pm November 20 here.  So as a result when you visit our site and see the upcoming events on the right panel, if it is after 6:00pm the contextual date is wrong.  For example, it is 6:52 Friday the 15th as I write this.  The show that I have tomorrow is showing that it is happening today, and my events that happened earlier in the day are showing as happening yesterday.  Is there a way of fixing this?
Back to the top

Sorry about that, it should be fixed now.

For reference, I'll put the cause down…

Event was next day at 6pm UTC-6, without timezone conversion set for it. Hence in UTC it will still be rendered as 6pm as it's been fixed to that time in all timezones (as opposed to 12am the next day). If viewed after 6PM in UTC-6 the UTC day has rolled forward a day and hence it would be 'today' in UTC time. This is what ocPortal was doing in the calendar listing block, erroneously it was disabling consideration of the viewer's timezone when rendering the date out.

(This stuff always hurts my head so much)

Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top

Honoured member

Thanks Chris. I can only imagine. I went to the book store over the weekend and bought a book on "Introduction to PHP" I must say I can see where it would hurt your head. Now I'm hoping that the old saying, "You can't teach an old dog new tricks," is not true.  This stuff doesn't seem as easy to grasp as I had thought it was going to be.
Back to the top
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: