I'm using a QTime in Qt 5.9 to hold an elapsed time. Got that part. When I go to display it as a string with time.toString("hh:mm:ss.zzz") it drops the hours. According to the documentation (they explicitly give that format as an example) that's the proper format. Am I doing something wrong or is it a bug in 5.9? I tried a few different foramts (":hh:mm:ss.zzz", ".hh:mm:ss.zzz", and "hh:mm:ss:zzz") and those formats display as written, but that's not what they want, they want hh:mm:ss.zzz.
Bookmarks