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
I used cast.ToTime () to convert '2006-01-02 15:04:05' format time string, and then compared with time.Now(), there is a problem. I would like to ask why cast.ToTime() uses UTC instead of Local to be consistent with time.Now(). Thanks.
I used
cast.ToTime ()
to convert'2006-01-02 15:04:05'
format time string, and then compared withtime.Now()
, there is a problem. I would like to ask whycast.ToTime()
usesUTC
instead ofLocal
to be consistent withtime.Now()
. Thanks.Here are the definitions of
caste
andtime
The text was updated successfully, but these errors were encountered: