Date: Fri, 29 Mar 2024 11:55:35 +0100 (CET) Message-ID: <2131325243.552.1711709735884@apps-confluence-5.apps-confluence.apps.svc.cluster.local> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_551_1595215022.1711709735884" ------=_Part_551_1595215022.1711709735884 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
Function | Returned value |
---|---|
formatWorkDuration(number |
Similar to function formatDuration=
() but using the workday and workw=
eek defined at time tracking configuration, inste=
ad of 24 hours per day and 7 days per week.Example: formatWorkDuration(5 * 8 * {HOUR} + 2 * 8 * {HOUR} =
+ 3 * {HOUR}) returns "1 week, 2 days, 3 hours", with 8 hours per workday and 5 days per wor=
kweek. |
shortFormatWorkDuration(number = duration) : string | Similar to function shortFormatDur=
ation() but using the workday and =
workweek defined at time tracking configuration, =
instead of 24 hours per day and 7 days per week.Example: formatWorkDuration(5 * 8 * {HOUR} + 2 * 8 * {HOUR} =
+ 3 * {HOUR}) returns "1w 2d 3h" , with 8 hours per workday and 5 days per workw=
eek. |