Commit f9e2df3a authored by Tim Hockin's avatar Tim Hockin

Define semantic equal for time

parent 0b38282b
......@@ -61,7 +61,7 @@ var Semantic = conversion.EqualitiesOrDie(
return a.Amount.Cmp(b.Amount) == 0
},
func(a, b util.Time) bool {
return a.Unix() == b.Unix()
return a.UTC() == b.UTC()
},
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment