fix: Return date as a string instead of local time
This commit is contained in:
1 parent
64a4814eef
commit
ccc04dd9ee
6 files changed
+87
-28
No files matched your search
@@ -30,6 +30,8 @@ func TestDiyanetAPI_GetByCoords(t *testing.T) {
|
||||
times, err := p.Get(context.Background(), "11104")
|
||||
assert.NoError(t, err)
|
||||
assert.NotEmpty(t, times)
|
||||
t.Logf("%#+v", times[0])
|
||||
for _, time := range times {
|
||||
t.Log(time)
|
||||
}
|
||||
})
|
||||
}
|
||||
Reference in new issue
Block a user