Files
klz-cables.com/.pnpm-store/v10/files/21/6928c694557c03b73ad8e6912fdfd96728d245d9675d8b47af5a5a75dbb9d5bc1215dd86e43a8f5c2dc4e7383d876e7b5ed82e116957b8d2d71d8c7e9511b1
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

31 lines
635 B
Plaintext

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