Files
klz-cables.com/.pnpm-store/v10/files/e2/2ec0656d2cd1ff7597198ea36badf1f589f5cbd641333cf41ec39a04181715073b8189098febb3db8e467ee01798e340a999608080b5459c6bec3ff194ca2b
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 isSaturday} function options.
*/
/**
* @name isSaturday
* @category Weekday Helpers
* @summary Is the given date Saturday?
*
* @description
* Is the given date Saturday?
*
* @param date - The date to check
* @param options - An object with options
*
* @returns The date is Saturday
*
* @example
* // Is 27 September 2014 Saturday?
* const result = isSaturday(new Date(2014, 8, 27))
* //=> true
*/
export function isSaturday(date, options) {
return toDate(date, options?.in).getDay() === 6;
}
// Fallback for modularized imports:
export default isSaturday;