Project

General

Profile

Actions

Bug #14176

closed

Uptime displays plural seconds for multiple minutes in the System Information Dashboard widget

Added by Steve Wheeler over 1 year ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Low
Assignee:
Category:
Dashboard
Target version:
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";
    }

Actions

Also available in: Atom PDF