This commit is contained in:
shoopea 2020-06-21 19:36:45 +02:00
parent 4bb1ad2aa2
commit 56708a562f

View File

@ -5,7 +5,7 @@ import (
) )
func toDate(d uint32) time.Time { func toDate(d uint32) time.Time {
t, _ := time.Parse("2006-01-02T15:04:05+07:00", "0001-01-01 00:00:00+00:00") t, _ := time.Parse("2006-01-02T15:04:05+07:00", "0000-01-01 00:00:00+00:00")
t = t.AddDate(0, 0, int(d)) t = t.AddDate(0, 0, int(d))
return t return t
} }