Rocky_Mountain_Vending/.pnpm-store/v10/files/94/7a7b2bfc80b0b0e3558cc8b3423b35cd6a9bbcc03e9bc27514fb6d1c234fc7f57abaad92372309cfa19eecfc82e09085005722207e5413c6fcbdf04d4a30f8
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
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>
2026-02-12 16:22:15 -07:00

19 lines
512 B
Text

"use strict";
exports.setMonth = setMonth;
var _index = require("../_lib/jalali.cjs");
/**
*
* @param cleanDate {Date}
* @param args
* @returns {number}
*/
function setMonth(cleanDate, ...args) {
const gd = cleanDate.getDate();
const gm = cleanDate.getMonth() + 1;
const gy = cleanDate.getFullYear();
const j = (0, _index.toJalali)(gy, gm, gd);
const [month, date = j.jd] = args;
const g = (0, _index.toGregorian)(j.jy, month + 1, date);
return cleanDate.setFullYear(g.gy, g.gm - 1, g.gd);
}