On segunda-feira, 15 de abril de 2013 13.11.25, Mitch Curtis wrote:
> On 03/25/2013 10:43 PM, John Layt wrote:
> > 4) The QDateTime QDataStream was changed in 5.0 to write all times as UTC,
> > but I think this is wrong.  Qt::LocalTime is clearly documented as being
> > the same local time (i.e. ymd hms) regardless of the underlying system
> > time or time zone or any changes in the system zone.  The consistent
> > behaviour when serialising would then be to save and restore as the local
> > time and not its UTC equivalent.  For example if I serialise an alarm
> > time of 7am local time, I don't expect that to unserialise as 9am because
> > I changed the system time zone.  If I want a time relative to UTC then I
> > would use UTC, Offset or Time Zone.
> 
> Thiago, do you agree with John here?

Yes, I do.

-- 
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.

_______________________________________________
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to