Files
klz-cables.com/.pnpm-store/v10/files/35/68faff2b03d668b284dddf5e66c874becb839442a1d5c7899e4bdd03b78a7f06ebc019c7aefe6ee39584131d033d3d2a231c47b501efc6962387119d3a8d6d
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

28 lines
694 B
Plaintext

import type { ContextOptions, DateArg } from "./types.js";
/**
* The {@link getDay} function options.
*/
export interface GetDayOptions extends ContextOptions<Date> {}
/**
* @name getDay
* @category Weekday Helpers
* @summary Get the day of the week of the given date.
*
* @description
* Get the day of the week of the given date.
*
* @param date - The given date
* @param options - The options
*
* @returns The day of week, 0 represents Sunday
*
* @example
* // Which day of the week is 29 February 2012?
* const result = getDay(new Date(2012, 1, 29))
* //=> 3
*/
export declare function getDay(
date: DateArg<Date> & {},
options?: GetDayOptions | undefined,
): number;