Skip to content

Commit

Permalink
Update utils/calendrical_calculations/src/hebrew_keviyah.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Shane F. Carr <shane@unicode.org>
  • Loading branch information
Manishearth and sffc authored Jan 4, 2024
1 parent fdbb0cb commit 1a9ed56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/calendrical_calculations/src/hebrew_keviyah.rs
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ impl Keviyah {
pub fn month_len(self, ordinal_month: u8) -> u8 {
// Normalize it to the month number
let Some(normalized_ordinal_month) = self.normalized_ordinal_month(ordinal_month) else {
return 30;
return ADARI_LEN;
};
debug_assert!(normalized_ordinal_month <= 12 && normalized_ordinal_month > 0);
match normalized_ordinal_month {
Expand Down

0 comments on commit 1a9ed56

Please sign in to comment.