time: comment .local() in time_windows.c.v too

pull/8101/head
Delyan Angelov 2021-01-13 16:35:52 +02:00
parent 8a8978fb01
commit 349eb95a28
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
1 changed files with 2 additions and 0 deletions

View File

@ -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{}
}