Skip to content

Commit a60b9bc

Browse files
committed
approx
1 parent c209736 commit a60b9bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/calendar/src/cal/hebrew.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,12 +152,12 @@ impl DateFieldsResolver for Hebrew {
152152
// The Hebrew Metonic cycle has leap years in year 3, 6, 8, 11, 14, 17, and 19,
153153
// i.e., leap year gaps of +3, +3, +2, +3, +3, +3, +2.
154154
//
155-
// 235 / 19 is 12.368 months per year, which leads to one leap month every three years plus 0.1
155+
// 235 / 19 is 12.368 months per year, which leads to one leap month every three years plus 0.1
156156
// month left over. So this is correct as long as it does not predict a leap month in 2 years
157157
// where the Hebrew calendar expects one in 3.
158158
//
159159
// The longest sequence of "three year leap months" in the Hebrew calendar
160-
// is 4: year 8->11->14->17. In that time the error will accumulate to about 0.3, which is not
160+
// is 4: year 8->11->14->17. In that time the error will accumulate to 0.3, which is not
161161
// enough to create a "two year leap month" in our calculation. So this calculation cannot go past
162162
// the actual cycle of the Hebrew calendar.
163163
235 * years / 19

0 commit comments

Comments
 (0)