On terça-feira, 27 de agosto de 2013 22:59:44, Constantin Makshin wrote: > Windows can store information about daylight saving transitions for past > years, but always uses one for the current year. And since daylight > saving transition dates and time tend to slightly drift from year to > year, there's absolutely no guarantees of getting correct time > conversion results; in general case 1-hour error is nearly inevitable. > If you're on Windows, either calculate and apply DST yourself or forget > about correct "UTC <-> local time" conversions.
This is not about the corner case of a file that was created in the hour of the transition, or even in the week that shifted between non-DST in one year to DST in another (or vice-versa). >From what I understand, we're talking about a file created in DST and checked outside of DST (or vice-versa) in the *same* *year*. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center
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