@toreda/time
Version:
Simple, small footprint library for common time operations and converting between units of time.
16 lines (15 loc) • 424 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.months = void 0;
const make_1 = require("./time/make");
/**
* Create Time object with months as time unit.
* @param initial Object's initial value (in months).
* @returns Time object
*
* @category Time Conversions
*/
function months(initial, log) {
return (0, make_1.timeMake)('mo', initial, log);
}
exports.months = months;