Files
klz-cables.com/.pnpm-store/v10/files/0c/064c3cabbada8d0b63c4765771727ba1e6fb80d0b499f6e2f54238768143a2ee4e242beb8c28ccbcb765f4de47adbf788e590660c1eb79250e9c9b2392e9a9
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

43 lines
948 B
Plaintext

import { buildFormatLongFn } from "../../_lib/buildFormatLongFn.js";
// https://www.unicode.org/cldr/charts/32/summary/sk.html?hide#1986
const dateFormats = {
full: "EEEE d. MMMM y",
long: "d. MMMM y",
medium: "d. M. y",
short: "d. M. y",
};
// https://www.unicode.org/cldr/charts/32/summary/sk.html?hide#2149
const timeFormats = {
full: "H:mm:ss zzzz",
long: "H:mm:ss z",
medium: "H:mm:ss",
short: "H:mm",
};
// https://www.unicode.org/cldr/charts/32/summary/sk.html?hide#1994
const dateTimeFormats = {
full: "{{date}}, {{time}}",
long: "{{date}}, {{time}}",
medium: "{{date}}, {{time}}",
short: "{{date}} {{time}}",
};
export const formatLong = {
date: buildFormatLongFn({
formats: dateFormats,
defaultWidth: "full",
}),
time: buildFormatLongFn({
formats: timeFormats,
defaultWidth: "full",
}),
dateTime: buildFormatLongFn({
formats: dateTimeFormats,
defaultWidth: "full",
}),
};