[Interest] Getting the timezone from Qt?

Konrad Rosenbaum konrad at silmor.de
Tue Jul 31 17:03:04 CEST 2012


On Tuesday 31 July 2012 15:25:05 Nikos Chantziaras wrote:
> On 31/07/12 10:18, Konrad Rosenbaum wrote:
> > But you gave me a nice idea: those offsets could be used as a fall-back
> > in case auto-detection fails miserably. Thanks.
> 
> Hm, I think that DST messes up the idea.  There's no way to tell if the
> offset has DST in it or not.  So it's +3:00 here, but my time zone is
> actually +2:00, but since it's summer, an additional +1:00 is added.

Actually those are all offsets, not zones. As I said: I would use it as a 
fallback if everything else fails. It is better than using UTC.


	Konrad
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20120731/27231a18/attachment.sig>


More information about the Interest mailing list