On terça-feira, 27 de agosto de 2013 10:19:06, Calogero Mauceri wrote: > Unfortunately the problem is still there even if I force a toUTC() > conversion for both QDateTime, either the one initialized from time_t or > the one returned by QFileInfo :/. > Similarly > > QDateTime dtFromTime_t = QDateTime::fromTime_t(mtime).toUTC(); > QDateTime dtFromFileInfo = fi.lastModified().toUTC(); > int sec = ABS(dtFromTime.secsTo(dtFromFileInfo)); // sec > returned is 3600
Does this happen to all files? Does this happen in Qt 5? What is the difference between the UTC time and the Windows file dialog? And what timezone is your computer configured to? -- 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