D10218: Fix bug in parsing dates that fall in the DST "non existant hour"
Albert Astals Cid
noreply at phabricator.kde.org
Wed Jan 31 23:16:11 GMT 2018
aacid created this revision.
aacid added a reviewer: mlaurent.
Restricted Application added a project: KDE PIM.
Restricted Application added a subscriber: KDE PIM.
aacid requested review of this revision.
REVISION SUMMARY
The old code was creating a datetime from maybeDate + maybeTime
but that meant that it could be creating a datetime that never
existed if that datetime falls in the time that jumps to the
future when doing dst (i.e 2->3 am)
TEST PLAN
Added new test that fails without my patch and works with it
REPOSITORY
R180 PIM: KMime
BRANCH
Applications/17.12
REVISION DETAIL
https://phabricator.kde.org/D10218
AFFECTED FILES
autotests/headertest.cpp
src/kmime_header_parsing.cpp
To: aacid, mlaurent
Cc: #kde_pim, dvasin, winterz, vkrause, mlaurent, knauss, dvratil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20180131/bb749d34/attachment.html>
More information about the kde-pim
mailing list