Files
klz-cables.com/.pnpm-store/v10/files/57/9e3cb9e8dea3e258bee181b0e4762397f90a825c83d8c5422ee963ab0b84d271cc69e9fd3d63982bb63237eb10dd8e7430ecabe2434b425547163f9df69aee
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

36 lines
817 B
Plaintext

import type {
ContextOptions,
DateArg,
LocalizedOptions,
WeekOptions,
} from "./types.js";
/**
* The {@link getWeekOfMonth} function options.
*/
export interface GetWeekOfMonthOptions
extends LocalizedOptions<"options">,
WeekOptions,
ContextOptions<Date> {}
/**
* @name getWeekOfMonth
* @category Week Helpers
* @summary Get the week of the month of the given date.
*
* @description
* Get the week of the month of the given date.
*
* @param date - The given date
* @param options - An object with options.
*
* @returns The week of month
*
* @example
* // Which week of the month is 9 November 2017?
* const result = getWeekOfMonth(new Date(2017, 10, 9))
* //=> 2
*/
export declare function getWeekOfMonth(
date: DateArg<Date> & {},
options?: GetWeekOfMonthOptions,
): number;