diff --git a/src/time/zoneinfo.go b/src/time/zoneinfo.go index aee0e5408b81f2..f0444a5d9daf17 100644 --- a/src/time/zoneinfo.go +++ b/src/time/zoneinfo.go @@ -593,7 +593,7 @@ func tzruleTime(year int, r rule, off int) int { } d += 7 } - d += int(daysBefore(Month(r.mon))) + d += daysBefore(Month(r.mon)) if isLeap(year) && r.mon > 2 { d++ }