main repo

This commit is contained in:
Basilosaurusrex
2025-11-24 18:09:40 +01:00
parent b636ee5e70
commit f027651f9b
34146 changed files with 4436636 additions and 0 deletions

24
node_modules/date-fns/yearsToDays.js generated vendored Normal file
View File

@@ -0,0 +1,24 @@
"use strict";
exports.yearsToDays = yearsToDays;
var _index = require("./constants.js");
/**
* @name yearsToDays
* @category Conversion Helpers
* @summary Convert years to days.
*
* @description
* Convert a number of years to a full number of days.
*
* @param years - The number of years to be converted
*
* @returns The number of years converted in days
*
* @example
* // Convert 2 years into days
* const result = yearsToDays(2)
* //=> 730
*/
function yearsToDays(years) {
return Math.trunc(years * _index.daysInYear);
}