From: Brendan Hansen Date: Tue, 16 Jan 2024 20:09:46 +0000 (-0600) Subject: fixed: ergonomics with timestamps X-Git-Url: https://git.brendanfh.com/?a=commitdiff_plain;h=974cebd81d5676aaefe2e04dc5e1950c3e73a472;p=onyx.git fixed: ergonomics with timestamps --- diff --git a/core/time/time.onyx b/core/time/time.onyx index e9298ecd..2fc8db75 100644 --- a/core/time/time.onyx +++ b/core/time/time.onyx @@ -442,7 +442,7 @@ time_to_tm :: (ts: i64, tm: &Timestamp) { } #local -tm_to_time :: (tm: &Timestamp) -> i64 { +tm_to_time :: (tm: Timestamp) -> i64 { y := cast(i64, tm.year + 1900); m := cast(i64, tm.mon + 1); if m <= 2 {