mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
time: fix iso8601 parser and utc time
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
module time
|
||||
|
||||
// eq returns true if provided time is equal to time
|
||||
[inline]
|
||||
pub fn (t1 Time) eq(t2 Time) bool {
|
||||
if t1.unix == t2.unix && t1.microsecond == t2.microsecond {
|
||||
return true
|
||||
|
Reference in New Issue
Block a user