Skip to content

time.Time comparison produces non-helpful diff #989

@AlekSi

Description

@AlekSi

#895 broke diffs with time.Time:

In 1.5.1:

-    Created: (xxx.Time) 2020-01-14T06:23:58Z,
-    Modified: (xxx.Time) 2020-01-14T06:23:58Z,
+    Created: (xxx.Time) 2018-08-05T09:30:53Z,
+    Modified: (xxx.Time) 2019-04-11T04:28:50Z,

In 1.6.1:

@@ -13,3 +13,3 @@
        wall: (uint64) 0,
-      ext: (int64) 63714579838,
+      ext: (int64) 63669058253,
        loc: (*time.Location)(<nil>)
@@ -20,3 +20,3 @@
        wall: (uint64) 0,
-      ext: (int64) 63714579838,
+      ext: (int64) 63690553730,
        loc: (*time.Location)(<nil>)

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions