This commit is contained in:
shoopea 2020-06-27 12:41:52 +02:00
parent 65b9b5111f
commit 87a8b05129

View File

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