Converts the provided number into a collection of time units.
The displayed time units depend on if any remainder can be converted into one and the used source unit.
%formatter_number_time_<number>%
%formatter_number_time_<time_unit>_<number>%
Option | Description |
The Time unit to treat the provided number as Available Time units:
|
|
Type: String Required? No Default: fromSeconds
|
|
The number to convert. | |
Type: Number Required? Yes Condition:
|
/papi parse me %formatter_number_time_100% -> 1m 40s
/papi parse me %formatter_number_time_fromMs_1200% -> 1s 200ms
/papi parse me %formatter_number_time_fromSecs_100% -> 1m 40s
/papi parse me %formatter_number_time_fromMins_100% -> 1h 40m
/papi parse me %formatter_number_time_fromHrs_100% -> 4d 4h