fix wrong time conversions

This commit is contained in:
silva guimaraes 2025-06-28 22:42:55 -03:00
parent 3e9b5f483b
commit a287461698
2 changed files with 3 additions and 3 deletions

View file

@ -128,8 +128,8 @@ let pp (day : Unix.tm) matches =
let f () =
let fetched = Lib.fetch_all tournaments in
let today = Unix.time () |> Unix.gmtime in
let tomorrow = Unix.time () +. (60. *. 60. *. 24.) |> Unix.gmtime in
let today = Unix.time () |> Unix.localtime in
let tomorrow = Unix.time () +. (60. *. 60. *. 24.) |> Unix.localtime in
let header = "### schedules" in
let schedules =
match (pp today fetched, pp tomorrow fetched) with