Project

General

Profile

Actions

Bug #14176

closed

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

Added by Steve Wheeler about 1 year ago. Updated about 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 #2

Updated by Jim Pingle about 1 year 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

Actions #3

Updated by Danilo Zrenjanin about 1 year 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.

Actions #4

Updated by Jim Pingle about 1 year 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

Also available in: Atom PDF