|
|
Joined: Jan 2000
Posts: 57
Enthusiast
|
Enthusiast
Joined: Jan 2000
Posts: 57 |
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.
|
|
|
|
Joined: May 1999
Posts: 3,039
Guru
|
Guru
Joined: May 1999
Posts: 3,039 |
Interesting. Will see what's going on with that.
UBB.threads Developer
|
|
|
|
Joined: Apr 2001
Posts: 50
Journeyman
|
Journeyman
Joined: Apr 2001
Posts: 50 |
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.
+++ Quis custodiet ipsos custodies? +++
|
|
|
|
Joined: Jul 2001
Posts: 1
Lurker
|
Lurker
Joined: Jul 2001
Posts: 1 |
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);
|
|
|
|
Joined: Apr 2001
Posts: 50
Journeyman
|
Journeyman
Joined: Apr 2001
Posts: 50 |
Thanks for the fix. That did the trick.
+++ Quis custodiet ipsos custodies? +++
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 69
Joined: January 2001
|
|
Forums63
Topics37,575
Posts293,932
Members13,824
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|