Files
2026-05-30 19:59:39 -03:00

7 lines
273 B
JavaScript

import { toHebrewDate } from "../utils/dateConversion.js";
export function isSameMonth(dateLeft, dateRight) {
const left = toHebrewDate(dateLeft);
const right = toHebrewDate(dateRight);
return left.year === right.year && left.monthIndex === right.monthIndex;
}