Skip to content

Feature request: "Users active in past $large_n $unit" #7354

@m4z

Description

@m4z

Description

When I set my somewhat inactive forum to a large "User online time threshold", it will still show up as:

Users active in past 1440 minutes

It would be nice if that feature detected

  • multiples of 60 < 1440
  • multiples of 1440
  • (maybe) multiples of 10080

...and changed the unit accordingly.

(Sparked by this topic.)

PS: Should it be "the past n minutes"?

Steps to reproduce

  1. Go to Administration > Configuration > Features and Options > General > User online time threshold > set 1440 or other large number
  2. String on the forum index will still show "$large_n minutes"

Environment (complete as necessary)

  • Version/Git revision: 2.1.1
  • Database Type: pg / any
  • Database Version: 9.6.23 / any
  • PHP Version: 7.0 / any

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions