Opened 10 years ago
Closed 7 years ago
#35655 closed enhancement (fixed)
Add seconds to human_time_diff()
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 5.3 | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Formatting | Keywords: | has-patch has-unit-tests |
| Focuses: | Cc: |
Description (last modified by )
When using human_time_diff() any difference less than 1 minute will appear as:
1 min
Disregarding that "min" should probably be "minutes", I propose we add support for seconds, using the MINUTE_IN_SECONDS constant.
This could be:
1 second2 seconds- or even
less than 1 minute
Attachments (2)
Change History (9)
Note: See
TracTickets for help on using
tickets.
See also: #29849