[Interest] Getting the timezone from Qt?
Konrad Rosenbaum
konrad at silmor.de
Fri Jul 27 12:42:57 CEST 2012
On Friday 27 July 2012 09:33:27 Nikos Chantziaras wrote:
> Is there a way to get the current timezone in standard IANA format from
> Qt? (Meaning a string like "America/New_York", "Europe/Paris", etc.)
If your software is under a GPL-compatible license, feel free to use this:
http://silmor.de/qtstuff.tzone.php
(git URL: git://silmor.de/konrad/tzone.git )
Otherwise you could use the IETF Time Zone code directly, develop your own
adaptation or wait at least a year till Qt 5.1 (if TZ support happens to
happen in that release).
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/20120727/0cec8904/attachment.sig>
More information about the Interest
mailing list