ci: format

This commit is contained in:
Barrett Ruth 2026-03-08 20:36:54 -04:00
parent ec1d4c6092
commit 53db05e6b2
2 changed files with 11 additions and 3 deletions

View file

@ -679,11 +679,13 @@ function M.parse_duration_to_days(s)
end
n = s:match('^(%d+)w$')
if n then
return tonumber(n) --[[@as integer]] * 7
return tonumber(n) --[[@as integer]]
* 7
end
n = s:match('^(%d+)m$')
if n then
return tonumber(n) --[[@as integer]] * 30
return tonumber(n) --[[@as integer]]
* 30
end
n = s:match('^(%d+)$')
if n then