[Development] Why is year 7999 the end of time ?

Edward Welbourne edward.welbourne at qt.io
Thu Nov 9 20:10:23 CET 2017


Investigating bug QTBUG-64401, I discover qdatetimeparser_p.h defining

#define QDATETIMEEDIT_DATE_MAX QDate(7999, 12, 31)

which dates back to the original import of qtbase by Nokia (albeit John
Layt moved it from qdatetime_p.h in 2013).  If anyone knows any cause or
just impediment against changing that to year 9999, please speak up soon
on

http://bugreports.qt.io/browse/QTBUG-64401

or forever hold your peace,

	Eddy.



More information about the Development mailing list