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
If you prefer a more detailed representation, have a look at the formatWorkDuration() function.
formatWorkDuration() | shortFormatWorkDuration() |
---|---|
"1 week, 11 days, 3 hours" . | "1w 11d 3h" |