Actions
Bug #14176
closed
SW
SW
Uptime displays plural seconds for multiple minutes in the System Information Dashboard widget
Bug #14176:
Uptime displays plural seconds for multiple minutes in the System Information Dashboard widget
Start date:
Due date:
% Done:
0%
Estimated time:
Plus Target Version:
23.05
Release Notes:
Default
Affected Version:
Affected Architecture:
All
Description
The check to display seconds as plural is incorrectly checking for multiple minutes here:
https://github.com/pfsense/pfsense/blob/master/src/usr/local/www/includes/functions.inc.php#L81
if ($upmins > 1) {
$seconds = "s";
}
JP Updated by Jim Pingle over 3 years ago
- Subject changed from Uptime displays plural seconds for multiple minutes to Uptime displays plural seconds for multiple minutes in the System Information dashboard widget
- Category changed from Web Interface to Dashboard
- Status changed from New to Feedback
MR merged
DZ Updated by Danilo Zrenjanin over 3 years ago
- Status changed from Feedback to Resolved
Tested on the 2.7.0.a.20230330.0600. It works fine.
I am marking this ticket resolved.
JP Updated by Jim Pingle over 3 years ago
- Subject changed from Uptime displays plural seconds for multiple minutes in the System Information dashboard widget to Uptime displays plural seconds for multiple minutes in the System Information Dashboard widget
Updating subject for release notes.
Actions