Files
klz-cables.com/.pnpm-store/v10/files/01/4140fb02b0ab840385d3daa1085b463ef10f44814410394ef787bcb31b9859aff69df08b1780c0142572449aaad07bf6373cf76dba0053c604fca96c2bcedd
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
671 B
Plaintext

import type { ContextOptions, DateArg } from "./types.js";
/**
* The {@link getMonth} function options.
*/
export interface GetMonthOptions extends ContextOptions<Date> {}
/**
* @name getMonth
* @category Month Helpers
* @summary Get the month of the given date.
*
* @description
* Get the month of the given date.
*
* @param date - The given date
* @param options - An object with options
*
* @returns The month index (0-11)
*
* @example
* // Which month is 29 February 2012?
* const result = getMonth(new Date(2012, 1, 29))
* //=> 1
*/
export declare function getMonth(
date: DateArg<Date> & {},
options?: GetMonthOptions | undefined,
): number;