Rocky_Mountain_Vending/.pnpm-store/v10/files/0d/8aad321f63d9961a94b78efa54dd54c42877463a237a99d9ab88e031a8688df25571da2c76f8cb5f376600ae3aeec13f60b8302d8b55b686ae51ce9c3c9586
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

29 lines
845 B
Text

import { newDate as coreNewDate } from "./_core/newDate.js";
/**
* @name newDate
* @category Common Helpers
* @summary Create a date object of the given params.
*
* @param {Number} year - the number of years
* @param {Number} monthIndex - the number of months 0-11
* @param {Number} date - the number of days 1-31
* @param {Number} [hours=0] - the number of hours 0-23
* @param {Number} [minutes=0] - the number of minutes 0-59
* @param {Number} [seconds=0] - the number of seconds 0-59
* @param {Number} [ms=0] - the number of milliseconds 0-999
* @returns {Date} the new date
*/
export function newDate(
year,
monthIndex,
date,
hours = 0,
minutes = 0,
seconds = 0,
ms = 0,
) {
return coreNewDate(year, monthIndex, date, hours, minutes, seconds, ms);
}
// Fallback for modularized imports:
export default newDate;