This commit is contained in:
shoopea 2020-06-27 12:35:01 +02:00
parent f2366c18e9
commit 6ae4138d0f

View File

@ -75,7 +75,7 @@ func fromChatWarsDate(d string) (t time.Time, err error) {
days := int(0)
for i := 1059; i < year; i++ {
if i%4 == 0 {
days += 365
days += 366
} else {
days += 365
}