Files
klz-cables.com/.pnpm-store/v10/files/99/fbbebb11102260559ef7fa972d39472b2fc42afebff766af547645d366b4c7cd02e7d9eba311a5e73f2baded3f5c6f38991fbed8a020b71cadb35136139c5b
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

15 lines
550 B
Plaintext

"use strict";
exports.tz = void 0;
var _index = require("../date/index.cjs");
/**
* The function creates accepts a time zone and returns a function that creates
* a new `TZDate` instance in the time zone from the provided value. Use it to
* provide the context for the date-fns functions, via the `in` option.
*
* @param timeZone - Time zone name (IANA or UTC offset)
*
* @returns Function that creates a new `TZDate` instance in the time zone
*/
const tz = timeZone => value => _index.TZDate.tz(timeZone, +new Date(value));
exports.tz = tz;