Avatar

Timezone bug? (Bugs)

by Micha ⌂, Friday, April 27, 2007, 11:40 (6180 days ago) @ bttr

Hi,

In my user settings I have a time difference of "1" (hour). Let's say I post a message at 14:00 local time. I come back after 5 minutes. If I'm logged in, the message will be shown correctly with 14:00 and "Latest postings" shows "5 minutes ago". Then I log out and now the message is shown as 13:00, but "Latest postings" still shows "5 minutes ago". That's confusing! At least to me.

It is simple.

You have:
Tposting = 13:00
dTuser = 1:00
Tnow = 13:05

Your time
TpostingUser = Tposting + dTuser
TnowUser = Tnow + dTUser

Last Answered Posting
--> dTlatest_posting = Tnow - Tposting
= (Tnow + dTuser) - (Tposting + dTuser) = Tnow + dTuser - Tposting - dTuser
= Tnow - Tposting

Your dTuser is a constant value...

Micha

--
applied-geodesy.org - OpenSource Least-Squares Adjustment Software for Geodetic Sciences

locked
9376 views

Complete thread:

 RSS Feed of thread