[Interest] Relashionship between time_t and QDateTime

Thiago Macieira thiago.macieira at intel.com
Wed Aug 28 07:39:55 CEST 2013


On quarta-feira, 28 de agosto de 2013 09:20:30, Constantin Makshin wrote:
> Damn, I just realized that I won't be able to test MSVC's localtime()
> because Russia isn't using DST transitions since 2011, making it impossible
> to distinguish "DST is not used for past years" from "localtime()
> completely ignores daylight saving information".

Well, you can at least check whether historical rules are applied. If the 
historical rules are applied, we're reasonably sure that this year's rules are 
applied.

You can also change your timezone settings, can't you? :-)

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130827/ed9801cc/attachment.sig>


More information about the Interest mailing list