QmlOrganizer: fix limit date conversion in a recurrence rule
authorMichael Krasnyk <michael.krasnyk@gmail.com>
Mon, 20 Jan 2014 13:43:42 +0000 (15:43 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 21 Jan 2014 01:35:21 +0000 (02:35 +0100)
commit3846fcc842de7b0211e2e625b1ee05f7fc6b669e
treed64c628952120d78cb5240851941529658247318
parent0fb0096dffccea6e0c0b626b6bb4f04da2977337
QmlOrganizer: fix limit date conversion in a recurrence rule

Convert DateTime to QDate in the UTC timezone similar to a conversion
in QDeclarativeOrganizerItemRecurrence::setRecurrenceDates.
Otherwise the limit date will depend on the local timezone
and resulting recurrent dates will be different for TZ=HST and TZ=JST.

Change-Id: Ie87d1304cc8cae7441aeff521b9d0fd2f3276001
Reviewed-by: Christopher Adams <chris.adams@jollamobile.com>
src/imports/organizer/qdeclarativeorganizerrecurrencerule.cpp