We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 083d3db commit 21c46f4Copy full SHA for 21c46f4
vlib/time/operator.v
@@ -3,8 +3,8 @@ module time
3
// operator `==` returns true if provided time is equal to time
4
@[inline]
5
pub fn (t1 Time) == (t2 Time) bool {
6
- return t1.is_local == t2.is_local && t1.local_unix() == t2.local_unix()
7
- && t1.nanosecond == t2.nanosecond
+ return t1.nanosecond == t2.nanosecond && t1.is_local == t2.is_local
+ && t1.local_unix() == t2.local_unix()
8
}
9
10
// operator `<` returns true if provided time is less than time
0 commit comments