Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: Calendar 1 day off, need help
Signet
Junior Member

Posts: 2
Registered: 12/14/2005
Member Is Offline
posted on 12/14/2005 at 03:46 PM Reply With Quote
Calendar 1 day off, need help


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.
View User's Profile View All Posts By User U2U Member
Signet
Junior Member

Posts: 2
Registered: 12/14/2005
Member Is Offline
posted on 12/14/2005 at 07:39 PM Reply With Quote

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.
View User's Profile View All Posts By User U2U Member
mjmarch
Junior Member

Posts: 2
Registered: 3/26/2006
Member Is Offline
posted on 3/27/2006 at 01:19 PM Reply With Quote

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.
View User's Profile View All Posts By User U2U Member
tam
Newbie

Posts: 1
Registered: 5/19/2007
Member Is Offline
posted on 5/19/2007 at 03:09 AM Reply With Quote

is there a fix for this problem yet?

thanks
View User's Profile View All Posts By User U2U Member
kjackson
Junior Member

Posts: 6
Registered: 6/18/2007
Member Is Offline
posted on 6/22/2007 at 03:28 PM Reply With Quote

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
View User's Profile View All Posts By User U2U Member
runaway
Newbie

Posts: 1
Registered: 2/3/2009
Location: Australia
Member Is Offline
posted on 2/3/2009 at 02:13 PM Reply With Quote

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);
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page
Product Demonstrations Live Demos
Free/Trial Script Download Free Download
Product Documentation Documentation
Documentation page
Change Log
Support Forum Support Forum
Order Now ORDER NOW!
Add to Cart
View Cart
 

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004