From 974cebd81d5676aaefe2e04dc5e1950c3e73a472 Mon Sep 17 00:00:00 2001 From: Brendan Hansen Date: Tue, 16 Jan 2024 14:09:46 -0600 Subject: [PATCH] fixed: ergonomics with timestamps --- core/time/time.onyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.25.1