In reply to post ID 10204
Thanks, however, I'm well aware of these. It even strengthens my point to use GMT rather than anything else: time stamps that are stored in GMT are *under any circumstances* unique. Anything else is the task of the user and the CP offers options to display the correct time for him. That's the reason why me gets the correct time displayed *anywhere* ...Quote by Saxtus:http://newsboard.unclassified.de/forum/post/10198 (PHP5 only)
So, now back to any fixes:
Since time stamps in local time are stored all over the place in UNB, I do not think (I would even strongly oppose) that these should be changed. It will definitely break something somewhere. The most obvious problem is that any old log files are void as soon as the time zone used in these files gets changed.
The only backward compatible change is that the times, which are displayed by the log viewer, are converted to the user's time zone. Such a change is trivial and UNB already provides functions to exactly do this. Then, one is left with the problem that one log file has dates spread over two days. This is most easily fixed by two table rows that display once the date of the successive times.
In short: for the sake of backwards compatibility do not touch the stored time stamps. Just change the displayed time...
Alala, Alala, Gimme three wishes - CSS