# exit code 1: error_input
# exit code 2: error_unknown
# Example: 'timeDuration 111111 3' yields 'P1DT6H51M'
- # Depends: date 8 (gnucoreutils), yell,
+ # Depends: date 8, bash 5, yell,
local argSeconds argPrecision precision returnState remainder
local fullYears fullMonths fullDays fullHours fullMinutes fullSeconds
local hasYears hasMonths hasDays hasHours hasMinutes hasSeconds