Open connermcd opened 8 years ago
Reported by: Trancid Owned by: Trancid Component: Core Priority: low Severity: minor Description:
Reported by: Trancid Owned by: Trancid Component: Core Priority: low Severity: minor
Whenever a parameter displayed in the !uptime command is 0, the actual part seems to be skipped.
Example: ThePAP> !uptime TWCore-Pub> Uptime: 7 days, 3 hours, , and 47 seconds. ThePAP> !uptime TWCore-Pub> Uptime: 7 days, 3 hours, , and 54 seconds. ThePAP> !uptime TWCore-Pub> Uptime: 7 days, 3 hours, 1 minute, and 1 second.
qan> This still a problem? Code looks OK.
!uptime uses the Tools.getTimeDiffString method
Trac Ticket #1159 new defect
Whenever a parameter displayed in the !uptime command is 0, the actual part seems to be skipped.
Example: ThePAP> !uptime TWCore-Pub> Uptime: 7 days, 3 hours, , and 47 seconds. ThePAP> !uptime TWCore-Pub> Uptime: 7 days, 3 hours, , and 54 seconds. ThePAP> !uptime TWCore-Pub> Uptime: 7 days, 3 hours, 1 minute, and 1 second.