On quarta-feira, 28 de agosto de 2013 01:01:55, Constantin Makshin wrote:
> The original Calogero's message mentioned a file from December 2007, a
> date outside of DST (unless there's a country that uses DST during
> winter). Now it's August, so the DST is active and during "UTC -> local
> time" conversion Windows adds that 1 hour Calogero is seeing. DST gets
> incorrectly applied because it's active at the moment of conversion,
> although it wasn't used at the moment the original timestamp represents.

That would support the theory that gmtime is broken on Windows, that it 
doesn't apply the DST rules at all.

I don't have time to do further testing on this, so if someone can, it would 
be appreciated. Also, please report the issue in the Qt issue tracker 
(http://bugreports.qt-project.org) so it doesn't get forgotten.

PS: I don't know of any country that does DST in Winter. I do know of 
countries that have Summer in December, though, and I know of regions that do 
reverse DST during Winter.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to