fix wrong time conversions
This commit is contained in:
parent
3e9b5f483b
commit
a287461698
2 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue