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
+14
View File
@@ -0,0 +1,14 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.startOfMonth = startOfMonth;
const index_js_1 = require("../utils/index.js");
/**
* Start of month
*
* @param {Date} date - The original date
* @returns {Date} The start of the month
*/
function startOfMonth(date) {
const { year, month } = (0, index_js_1.toEthiopicDate)(date);
return (0, index_js_1.toGregorianDate)({ year, month, day: 1 });
}