<table><tr><td style="">fvogt created this revision.<br />fvogt added reviewers: Plasma, Frameworks.<br />Restricted Application added a project: Frameworks.<br />Restricted Application added a subscriber: kde-frameworks-devel.<br />fvogt requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D13222">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>QDate from/to JS Date has unexpected results, so use QDateTime to have a<br />
timezone assigned to prevent conversions. That way the date values are<br />
consistent.</p>

<p>The behaviour got changed with Qt 5.11 (see the linked bug report) which<br />
lead to plasma showing the wrong dates in the calendar.</p>

<p>BUG: 394423</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Tested with and without this patch on Qt 5.10.1 and 5.11.0.<br />
Now the correct date is displayed for -0004 and +0001 timezones.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R242 Plasma Framework (Library)</div></div></div><br /><div><strong>BRANCH</strong><div><div>master</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D13222">https://phabricator.kde.org/D13222</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/declarativeimports/calendar/calendar.cpp<br />
src/declarativeimports/calendar/calendar.h</div></div></div><br /><div><strong>To: </strong>fvogt, Plasma, Frameworks<br /><strong>Cc: </strong>sharvey, kde-frameworks-devel, michaelh, ngraham, bruns<br /></div>