Board Logo

Calendar 1 day off, need help
Signet - 12/14/2005 at 03:46 PM

I've read several older posts having a similar problem, but I don't believe their solutions work now for the newer version. I've tried weeknumbers on and off and still I'm 1 day behind on the calendar. I have the timezone set correctly too.

Please look at the calendar here:
www.attrition-guild.net

It is still showing yesterday's event (i.e. 1 day behind). Please Help!!!!

Thanks.


Signet - 12/14/2005 at 07:39 PM

Quote:
Originally posted by Signet
I've read several older posts having a similar problem, but I don't believe their solutions work now for the newer version. I've tried weeknumbers on and off and still I'm 1 day behind on the calendar. I have the timezone set correctly too.

Please look at the calendar here:
www.attrition-guild.net

It is still showing yesterday's event (i.e. 1 day behind). Please Help!!!!

Thanks.


Ok, it finally updated to the proper event, so it looks like there is a problem with when the "next day" is triggered. I have it set on USA pacific time. I'm assuming when it hits midnight, it would switch to the next day, but it did not do this until sometime between 4am to 8am (not sure exactly when it finally switched). How can I control when this happens if its not by the timezone in the calendar configuration. If its set to USA Pacific, I would assume it should follow my wall-clock and when my day changes, my calendar day should change to.


mjmarch - 3/27/2006 at 01:19 PM

I have had the same issue. I tried to set it to my local timezone and it did not work, so I tried to set it to the server timezone, still no dice. The server is located in US Pacific, I am in US Central... I had to set it to +1 GMT to get it to work at least until midnight by the server time, then I might have to readjust it again. I tried the sidebar stuff and it did not work either, so I am running out of choices, except with tweaking it to a timezone I don't live in. Maybe it exists in the twilight zone.


tam - 5/19/2007 at 03:09 AM

is there a fix for this problem yet?

thanks


kjackson - 6/22/2007 at 03:28 PM

open your calendar.php

goto the show_calendar function

look for the variable $dwf and mess with the numbers a bit and see if you can manipulate the current day


runaway - 2/3/2009 at 02:13 PM

Here is how I fixed it.

Change this line in the get_date function in calendar.php

// if(!$time)$time=time();
if(!$time)$time=time() + (1 * 24 * 60 *60);


Softcomplex: http://www.softcomplex.com/
Back to forum: http://www.softcomplex.com/forum/