Files
klz-cables.com/.pnpm-store/v10/files/02/2de8a3824d588fb2fbc56a73dfc7b9cc15b1a50d2f51ff85c4869442ec9efe0692b3edc0a52a20d9cfc5cee17c2c4d2465d2974c994d1ea2a594cd4a37c3da
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
647 B
Plaintext

import { toDate } from "./toDate.js";
/**
* The {@link getMinutes} function options.
*/
/**
* @name getMinutes
* @category Minute Helpers
* @summary Get the minutes of the given date.
*
* @description
* Get the minutes of the given date.
*
* @param date - The given date
* @param options - The options
*
* @returns The minutes
*
* @example
* // Get the minutes of 29 February 2012 11:45:05:
* const result = getMinutes(new Date(2012, 1, 29, 11, 45, 5))
* //=> 45
*/
export function getMinutes(date, options) {
return toDate(date, options?.in).getMinutes();
}
// Fallback for modularized imports:
export default getMinutes;