You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In docs for func Unix(sec int64, nsec int64) Time, it is stated: "sec seconds and nsec nanoseconds since January 1, 1970 UTC". The calculations inside don't seem to take Local timezone into account (unixToInternal is a const), but Time{loc: Local} is returned. I think it's not right?
Similarly in Time.Unix(), and many other different places related to "Unix time".
The text was updated successfully, but these errors were encountered:
In docs for func Unix(sec int64, nsec int64) Time, it is stated: "sec seconds and nsec nanoseconds since January 1, 1970 UTC". The calculations inside don't seem to take Local timezone into account (unixToInternal is a const), but Time{loc: Local} is returned. I think it's not right?
Similarly in Time.Unix(), and many other different places related to "Unix time".
The text was updated successfully, but these errors were encountered: