Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Trivial error in uptime display

    Scheduled Pinned Locked Moved General pfSense Questions
    2 Posts 2 Posters 230 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • E
      ebcdic
      last edited by

      The uptime in the dashboard may be displayed as something like "14 Days 19 Hours 1 Minute 45 Second" (instead of "45 Seconds"). This is because it tests the minutes rather than the seconds to decide whether to used the plural.

      The error is in functions.inc.php which has

          if ($upmins > 1) {
                  $seconds = "s";
      
      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        Thanks: https://redmine.pfsense.org/issues/14176

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.