style: run stylua

This commit is contained in:
Thomas Lambert
2022-09-28 22:35:11 +02:00
parent 74636e7416
commit 74ba88dd98
5 changed files with 57 additions and 64 deletions

View File

@@ -6,11 +6,11 @@ local date = require("taglinks.date")
--- see https://en.wikipedia.org/wiki/ISO_week_date
M.dow_for_year = function(year)
return (
year
+ math.floor(year / 4)
- math.floor(year / 100)
+ math.floor(year / 400)
) % 7
year
+ math.floor(year / 4)
- math.floor(year / 100)
+ math.floor(year / 400)
) % 7
end
M.weeks_in_year = function(year)