deploy: v0.12 fix 存档key名

This commit is contained in:
2026-06-24 03:09:02 +00:00
parent 7a08d49fe3
commit e0a5281119
58743 changed files with 7297269 additions and 39505 deletions
+14
View File
@@ -0,0 +1,14 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.startOfYear = startOfYear;
const index_js_1 = require("../utils/index.js");
/**
* Start of year
*
* @param {Date} date - The original date
* @returns {Date} The start of the year
*/
function startOfYear(date) {
const { year } = (0, index_js_1.toEthiopicDate)(date);
return (0, index_js_1.toGregorianDate)({ year, month: 1, day: 1 });
}