diff --git a/vlib/time/time_windows.c.v b/vlib/time/time_windows.c.v index 3a692da883..eeec391fe0 100644 --- a/vlib/time/time_windows.c.v +++ b/vlib/time/time_windows.c.v @@ -94,6 +94,7 @@ fn local_as_unix_time() int { return make_unix_time(tm) } +// local - return the time `t`, converted to the currently active local timezone pub fn (t Time) local() Time { st_utc := SystemTime{ year: u16(t.year) @@ -190,6 +191,7 @@ pub fn solaris_now() Time { return Time{} } +// dummy to compile with all compilers pub fn darwin_utc() Time { return Time{} }