Jump to content

Convert seconds to compound duration: Difference between revisions

m
(→‎{{header|AppleScript}}: Simpler closures, updated primitives)
Line 200:
-- angloDuration :: Int -> String
on angloDuration(intSeconds)
-- weekParts Int -> [Int]
script mf
-- weekParts Int -> [Int]
on weekParts(intSeconds)
unitParts(intSeconds, [missing value, 7, 24, 60, 60])
Line 311 ⟶ 312:
end script
end if
end mReturn</lang>
</lang>
 
 
9,659

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.