<div dir="ltr">On 11 July 2017 at 17:28, Mark Johnson <span dir="ltr"><<a href="mailto:mj10777@googlemail.com" target="_blank">mj10777@googlemail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">While working on an overhaul of the QgsSpatiaLiteProvider (for Spatialite 4.5.0), I just completed the portion for setting the default DATE/DATETIME etc. only to find that for the QDateTimeEdit class, the beginning or the world is determined by the Act of Parliament of 1751 (Calendar Act) - which is a disaster for any Historical Database for any event before 1752-09-14.</div></blockquote><div><br></div><div>Fortunately, historical dates and time zones are are two of QDateTime 'bugs' I fixed for Qt5. To that extent, the future is brighter for the past in QGIS 3 :-) Sadly at the time there was no QtWidgets maintainer so the QDateTimeEdit patch to use it didn't get in. It may have been fixed in a recent Qt5 release though, I think I saw a patch float past sometime in the the last year or so...<br><br></div><div>Of course, that doesn't help you right now :-)<br><br></div><div>John.<br><br></div></div></div></div>