Opened 3 years ago

Last modified 18 months ago

#1159 new defect

Formatting glitch in core's !uptime

Reported by: Trancid Owned by: Trancid
Priority: low Milestone: milestone:
Component: Core Version: Latest version from repository
Severity: minor Keywords:
Cc:

Description

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.

Change History (1)

comment:1 Changed 18 months ago by qan

This still a problem? Code looks OK.

!uptime uses the Tools.getTimeDiffString method

Note: See TracTickets for help on using tickets.