Skip to content
Commit f6dea81a authored by Albert Astals Cid's avatar Albert Astals Cid
Browse files

Fix bug in parsing dates that fall in the DST "non existant hour"

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

Reviewers: mlaurent

Subscribers: #kde_pim

Tags: #kde_pim

Differential Revision: https://phabricator.kde.org/D10218
parent 91186f6a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment