Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.6.2, 5.9.4
-
None
-
ae42461f44cf63a66a087cf8c2660c3d914f474c
Description
Not sure why QTBUG-6 is marked out of scope. Getting the right value from the database seems within scope.
MySQL defines a Time field as a "duration of time", NOT as "time of day".
http://dev.mysql.com/doc/refman/5.7/en/time.html
Qt misrepresents the actual values by parsing it into a 24 clock based type (QTime). If the value is greater than or equal to 24hrs than the QTime object is set to "00:00:00".
If QElapsedTimer had a method to set the initial elapsed time and pause, maybe we could use that?
Attachments
For Gerrit Dashboard: QTBUG-57028 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
230049,4 | MySQL: Handle TIME types as a string to allow the full range of data | dev | qt/qtbase | Status: MERGED | +2 | 0 |