This function returns a text similar to shortFormatDuration(), but using the work day and work week defined at time tracking configuration, instead of 24 hours per day and 7 days a week.
shortFormatWorkDuration(duration) #Output: Text
Examples
|
Parser expression |
Description |
|---|---|
|
Bash
|
This example returns : 1w 2d 3h With 8 hours per workday and 5 days per work week. {HOUR} is a time macro. |
Additional information
Parameters used in this function
|
Parameter |
Input (data type) |
Description |
|---|---|---|
|
|
number |
A number representing a duration or the calculation of a duration. |
Output
This function returns a text
This function is extremely helpful when you want to automatically calculate the duration in JWT calculated text fields.
If you prefer a more detailed representation, have a look at the formatWorkDuration() function.
|
Function |
Output |
|---|---|
|
|
|
|
|
|
📚 Use cases and examples
| Use case | Workflow function | Field type | Automated action | Parser functions |
|---|