Skip to content

Commit

Permalink
fixed: ergonomics with timestamps
Browse files Browse the repository at this point in the history
  • Loading branch information
brendanfh committed Jan 16, 2024
1 parent a34df1d commit 974cebd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/time/time.onyx
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 974cebd

Please sign in to comment.