I don't use mysql to generate any timestamps. Everything is done with php (after there was a bunch of confusion a few months back with mysql being in a different timezone than the server itself. Wierdness).
Hmm. It must have something to do with the zero when you subtract comment posting time (now) from current time (now) on a server that is very fast at posting.
But I could have sworn I figured that one out a while back.
You're a good programmer - can you do some testing to see if you can figure out what's going on?
Actually, I remember this happening a while back in pre 9.x builds, but I totally forget what the hell was causing it. Instead of 23 hours ago it was reporting 22 which was odd. Here it is:
http://lussumo.com/community/discussion/421/22-hours-ago/
I started noticing this bug a few days ago... if you add a comment and the timestamp says "23 hours ago", every new comment will be added <strong>before</strong> the one with a buggy timestamp. But after an hour (or so) the timestamp returns to normal...
Hi, so anyone got a remedy for this because I am having the same problem on my install too and it is running on my localhost so no timezone issues. Anyone got some insight on this one. I have done
if($Days < 0) $Days = 0;
and It has sort of fixed on the local but on the uploaded versoin, its still not running.
Comments
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Does it go to 24 hours (err... one day) ago if you check back in a hour?
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Hmm. It must have something to do with the zero when you subtract comment posting time (now) from current time (now) on a server that is very fast at posting.
But I could have sworn I figured that one out a while back.
You're a good programmer - can you do some testing to see if you can figure out what's going on?
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •"Almost one day ago" ?
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •It's a NEW post, it should say 5 seconds ago!
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Anyone got some insight on this one.
I have done
if($Days < 0)
$Days = 0;
and It has sort of fixed on the local but on the uploaded versoin, its still not running.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Does it have something to do with that.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •It is $Time = $Time + 60*60;
And its doing great since. :)
let me know your thoughts. :)
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •