diff options
author | Kent Hansen <kent.hansen@nokia.com> | 2010-08-31 09:15:30 (GMT) |
---|---|---|
committer | Kent Hansen <kent.hansen@nokia.com> | 2010-08-31 09:20:40 (GMT) |
commit | ae574f7341f4f76a1f7de570cc3d56f77781e625 (patch) | |
tree | fd85a743bfb3917380b6134ee2a0b92956e3b2ba /doc/src/snippets/sqldatabase | |
parent | eb1015c7bbf135af3656110a4d112377c1209db8 (diff) | |
download | Qt-ae574f7341f4f76a1f7de570cc3d56f77781e625.zip Qt-ae574f7341f4f76a1f7de570cc3d56f77781e625.tar.gz Qt-ae574f7341f4f76a1f7de570cc3d56f77781e625.tar.bz2 |
Fix QtScript Date <--> QDateTime (local time) conversion
This has already been fixed in 4.7 (QTBUG-9770), but the change is
too big to backport.
The general idea is the same: Only operate on UTC dates internally
(since that's how JS dates are stored), and let QDateTime take care
of converting from/to local dates as necessary.
The fix itself shouldn't be merged to 4.7, but the autotests should.
Task-number: QTBUG-9770
Reviewed-by: Jedrzej Nowacki
Diffstat (limited to 'doc/src/snippets/sqldatabase')
0 files changed, 0 insertions, 0 deletions