Favivon - Correção

This commit is contained in:
2026-05-30 19:59:39 -03:00
parent 76ddaa815d
commit d7dfd221f0
32859 changed files with 5459654 additions and 404 deletions
+16
View File
@@ -0,0 +1,16 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isSameMonth = isSameMonth;
const index_js_1 = require("../utils/index.js");
/**
* Is same month
*
* @param {Date} dateLeft - The first date
* @param {Date} dateRight - The second date
* @returns {boolean} True if the two dates are in the same month
*/
function isSameMonth(dateLeft, dateRight) {
const left = (0, index_js_1.toEthiopicDate)(dateLeft);
const right = (0, index_js_1.toEthiopicDate)(dateRight);
return left.year === right.year && left.month === right.month;
}