[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 101954] time wrong in applet clock (in different timezone)
From:       Paul Campbell <paul () taniwha ! com>
Date:       2005-03-20 3:28:51
Message-ID: 20050320032851.19062.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=101954         




------- Additional Comments From paul taniwha com  2005-03-20 04:28 -------
Created an attachment (id=10207)
 --> (http://bugs.kde.org/attachment.cgi?id=10207&action=view)
test program

This code shows 2 different ways to calculate QDateTime::secsTo(), secsTo3() is
what QT 3.3.3 used, secsTo4() is what QT 3.3.4 uses. Here in NZ I see the
following output at the moment:

hr=19
hr=15
t3 = -72000
t4 = -75600
off=-21

notice the difference in hours is 4 hours but the 'off' from the same code
you're currently using is -21 (3 hours behind where it should be 4)

[[I think that the real problem is that deep in QT there's a call of mktime()
that ends up being called with the wrong TZ set]]
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic