ted-ross commented on a change in pull request #614: DISPATCH-1439 - Added two attributes to connection and one to router. URL: https://github.com/apache/qpid-dispatch/pull/614#discussion_r343593410
########## File path: python/qpid_dispatch_internal/tools/display.py ########## @@ -45,7 +45,14 @@ def Commas(value): sval = left def TimeLong(value): - return strftime("%c", gmtime(value / 1000000000)) + day = value // (24 * 3600) + time = value % (24 * 3600) + hour = time // 3600 + time %= 3600 + minutes = time // 60 + time %= 60 + seconds = time + return "%03d:%02d:%02d:%02d" % (day, hour, minutes, seconds) Review comment: I'm curious as to why this was done. Does the strftime function no format the data properly? ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org