D25367: Fallback to system time zone on calendar creation with an invalid one.
Damien Caliste
noreply at phabricator.kde.org
Mon Nov 18 12:42:15 GMT 2019
dcaliste created this revision.
Herald added a project: KDE PIM.
Herald added a subscriber: kde-pim.
dcaliste requested review of this revision.
REVISION SUMMARY
ensure to always have a valid time zone defined
for a calendar. Fallback to the system time zone if
provided time zone object or ID is invalid.
TEST PLAN
add a test in memory calendar to verify
that creating a calendar with an invalid time zone
results in the system one being used.
REPOSITORY
R172 KCalendar Core
BRANCH
tz
REVISION DETAIL
https://phabricator.kde.org/D25367
AFFECTED FILES
autotests/testmemorycalendar.cpp
autotests/testmemorycalendar.h
src/calendar.cpp
To: dcaliste
Cc: kde-pim, fbampaloukas, dcaliste, dvasin, rodsevich, winterz, vkrause, mlaurent, knauss, dvratil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20191118/670662c9/attachment.html>
More information about the kde-pim
mailing list