Opened 11 years ago
Closed 7 years ago
#35655 closed enhancement (fixed)
Add seconds to human_time_diff()
| Reported by: | johnjamesjacoby | Owned by: | pento |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.3 |
| Component: | Formatting | Version: | |
| Severity: | normal | Keywords: | has-patch has-unit-tests |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
See also: #29849