UBB.Dev
Posted By: WolfUK Time Offset (5.4.3) - 08/24/2001 9:04 AM
Sorry if this has been covered before (I have searched and not found a recent reference to it) but if you set your time offset to a negative number you get shown the server time rather than an adjusted time. Positive numbers are fine, it's just negative ones that are not working. You can try it via the Current Adjusted Date setting from the Main Index.
Posted By: Rick Re: Time Offset (5.4.3) - 08/24/2001 3:26 PM
Interesting. Will see what's going on with that.
Posted By: Dr_Manhattan me too [nt] - 08/27/2001 9:28 PM
nt = no text This is a "me too" post. But since you're looking, my copy of 5.4.3 has the same time offset problem--negative offset values just plain don't work.
Posted By: dreemz3 FIX: Time Offset (5.4.3) - 09/02/2001 4:44 AM
I found the same problem. The fix I implemented was to remove the conditional in the function html -> convert_time.
Old code:
if ($offset > 0) {
$time = $time+($offset *3600);
}

New code:
$time = $time+($offset *3600);

Posted By: Dr_Manhattan It's about time - 09/03/2001 11:37 PM
Thanks for the fix. That did the trick.
© UBB.Developers