From 996c59b92407515c7b7e2df23e34789ce280752c Mon Sep 17 00:00:00 2001 From: Max Proske Date: Sun, 23 Nov 2025 10:19:56 -0800 Subject: [PATCH] time: fix typo in comment Correct "occasonal" to "occasional" --- src/time/time.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/time/time.go b/src/time/time.go index 32a1ce4307d148..c63910cd91e6a8 100644 --- a/src/time/time.go +++ b/src/time/time.go @@ -1279,7 +1279,7 @@ func daysBefore(m Month) int { // which is: // 0 31 61 92 122 153 183 214 245 275 306 336 367 // This is almost exactly 367/12×(m-1) except for the - // occasonal off-by-one suggesting there may be an + // occasional off-by-one suggesting there may be an // integer approximation of the form (a×m + b)/c. // A brute force search over small a, b, c finds that // (214×m - 211) / 7 computes the function perfectly.