Rocky_Mountain_Vending/.pnpm-store/v10/files/e3/cc1dac5b7032c1723791dea76a4d078e82876f71d28ce92649e67bac1d474200c891742c1f450b5f8a45d775a39e1919439e4889ad3dc249c1de53a11e20b7
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

30 lines
644 B
Text

import { toDate } from "./toDate.js";
/**
* The {@link isWednesday} function options.
*/
/**
* @name isWednesday
* @category Weekday Helpers
* @summary Is the given date Wednesday?
*
* @description
* Is the given date Wednesday?
*
* @param date - The date to check
* @param options - An object with options
*
* @returns The date is Wednesday
*
* @example
* // Is 24 September 2014 Wednesday?
* const result = isWednesday(new Date(2014, 8, 24))
* //=> true
*/
export function isWednesday(date, options) {
return toDate(date, options?.in).getDay() === 3;
}
// Fallback for modularized imports:
export default isWednesday;