Files
klz-cables.com/.pnpm-store/v10/files/70/1743ca2d48cc10f77502dc2e9c4c762deffb9f14fc5626ca90e0aa2d128575a1a3b817688ba28de46e71b8b94d781bab34bc656c50e23599ce40d25f27ce72
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

32 lines
1.0 KiB
Plaintext

import type { ContextOptions, DateArg } from "./types.js";
/**
* The {@link isSameISOWeekYear} function options.
*/
export interface IsSameISOWeekYearOptions extends ContextOptions<Date> {}
/**
* @name isSameISOWeekYear
* @category ISO Week-Numbering Year Helpers
* @summary Are the given dates in the same ISO week-numbering year?
*
* @description
* Are the given dates in the same ISO week-numbering year?
*
* ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date
*
* @param laterDate - The first date to check
* @param earlierDate - The second date to check
* @param options - An object with options
*
* @returns The dates are in the same ISO week-numbering year
*
* @example
* // Are 29 December 2003 and 2 January 2005 in the same ISO week-numbering year?
* const result = isSameISOWeekYear(new Date(2003, 11, 29), new Date(2005, 0, 2))
* //=> true
*/
export declare function isSameISOWeekYear(
laterDate: DateArg<Date> & {},
earlierDate: DateArg<Date> & {},
options?: IsSameISOWeekYearOptions | undefined,
): boolean;