Next.js website for Rocky Mountain Vending company featuring: - Product catalog with Stripe integration - Service areas and parts pages - Admin dashboard with Clerk authentication - SEO optimized pages with JSON-LD structured data Co-authored-by: Cursor <cursoragent@cursor.com>
25 lines
No EOL
776 B
Text
25 lines
No EOL
776 B
Text
"use strict";
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.utcMonths = exports.default = void 0;
|
|
|
|
var _interval = _interopRequireDefault(require("./interval.js"));
|
|
|
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
|
|
var utcMonth = (0, _interval.default)(function (date) {
|
|
date.setUTCDate(1);
|
|
date.setUTCHours(0, 0, 0, 0);
|
|
}, function (date, step) {
|
|
date.setUTCMonth(date.getUTCMonth() + step);
|
|
}, function (start, end) {
|
|
return end.getUTCMonth() - start.getUTCMonth() + (end.getUTCFullYear() - start.getUTCFullYear()) * 12;
|
|
}, function (date) {
|
|
return date.getUTCMonth();
|
|
});
|
|
var _default = utcMonth;
|
|
exports.default = _default;
|
|
var utcMonths = utcMonth.range;
|
|
exports.utcMonths = utcMonths; |