We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e88be8a commit 996c59bCopy full SHA for 996c59b
src/time/time.go
@@ -1279,7 +1279,7 @@ func daysBefore(m Month) int {
1279
// which is:
1280
// 0 31 61 92 122 153 183 214 245 275 306 336 367
1281
// This is almost exactly 367/12×(m-1) except for the
1282
- // occasonal off-by-one suggesting there may be an
+ // occasional off-by-one suggesting there may be an
1283
// integer approximation of the form (a×m + b)/c.
1284
// A brute force search over small a, b, c finds that
1285
// (214×m - 211) / 7 computes the function perfectly.
0 commit comments