PDA

View Full Version : Post Times


shrued
10-20-2007, 06:20 AM
I just loaded PP and added a photo yesterday. I uploaded a photo to be posted today at 6am est and it is already posted. GMT is -5. Why would it be posted already?

Dennis
10-20-2007, 06:46 AM
have you said your timezone correctly? You must use the timezone of the server, not your own timezone, so there might be a slight difference in that.

shrued
10-20-2007, 06:51 AM
Hi Dennis,

Where would I check that? Is that a PP thing or a host thing?

Dennis
10-20-2007, 09:41 AM
well you can set the time offset in Pixelpost configuration in the adminpanel.

It might be best to check with your hoster to get the offset :D

shrued
10-20-2007, 01:51 PM
When I initiate a new post, it tells me the time is one hour behind the local, which is fine because of the DST thing; however, the post when in nearly 3 hours early. So something is off.

I was with MT before and the offset was -5 also, so I know it's set right here.

Dennis
10-20-2007, 10:53 PM
right.. ancient bug..

open your new_image.php.

look for the line
$datetime = gmdate("Y-m-d H:i:s",time()+(3600 * $tz));

change to:
$datetime = gmdate("Y-m-d H:i:s",time()+(3600 * $cfgrow['timezone']));

shrued
10-21-2007, 05:06 AM
Still not working. My post is set for 2007-10-21 05:00:39 and I go to check my page at 1am EST and it's already posted. Even w/o DST, it shouldn't post for another 4 hours.

Dkozikowski
10-21-2007, 05:08 AM
You are still logged in as an admin. Logout as an administrator and you will not see your post.

This "feature" was added so administrators can preview their posts.

shrued
10-21-2007, 05:12 AM
dwilkinsjr, you're a genius.

Or I'm an idiot. Either way works for me. Thanks!