Widget event time wrong
-
Hallo!
My problem ist, that the time in the today´s event widget in the sidebar ist not working correctly. We only show the start- and endtime and the starttime is 1 hour earlier and the endtime two hours earier.
Does anyone have the same problem and have soulved it?
I appriciate every help because this is a university project wich needs to be done mid-January.
Thank you!
Michelle 🙂The page I need help with: [log in to see the link]
-
Is it only a problem in the widget, and not a problem in the main calendar?
Yes, in the main calendar the time is right.
That suggests that some other plug-in is manipulating the site’s timezone on the fly. Can you disable other plug-ins and re-check? If it’s right while other plug-ins are disabled, then it’s a plugin conflict.
Sadly, it is not a plugin conflict. We disabled everything we installed recently and every puglin possible to disable. The time in the sidebar stayed wrong.
Can you try switching to a default theme? It would be uncommon for this to be a theme issue, but it’s certainly possible.
Thank you! Yes it is a theme issue. We are programming it ourselves and a php include function is messing with the time. We don´t know why but thank you, now we at least know what the problem is!!
Look for anything that might be manipulating the timezone, e.g. date_default_timezone_set() without resetting it.
Best,
Joe
The topic ‘Widget event time wrong’ is closed to new replies.