fixed: ergonomics with timestamps
authorBrendan Hansen <brendan.f.hansen@gmail.com>
Tue, 16 Jan 2024 20:09:46 +0000 (14:09 -0600)
committerBrendan Hansen <brendan.f.hansen@gmail.com>
Tue, 16 Jan 2024 20:09:46 +0000 (14:09 -0600)
core/time/time.onyx

index e9298ecd375094525d5cfb718619a69a3632ff45..2fc8db7565788a49705730a79b21e39878b15e2b 100644 (file)
@@ -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 {