Files
klz-cables.com/.pnpm-store/v10/files/86/95eb9857c14ac4103cf59bfda2bf58a1c9ec91f9eb4aa3feef5f6e13121eea0bd4912dd8e77d72b8a785828b309bbd2ab029478632f21fff5553d471cd66a0
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

40 lines
763 B
Plaintext

import { buildFormatLongFn } from "../../_lib/buildFormatLongFn.mjs";
const dateFormats = {
full: "EEEE, d MMMM yyyy",
long: "d MMMM yyyy",
medium: "d MMM yyyy",
short: "d/M/yyyy",
};
const timeFormats = {
full: "HH.mm.ss",
long: "HH.mm.ss",
medium: "HH.mm",
short: "HH.mm",
};
const dateTimeFormats = {
full: "{{date}} 'pukul' {{time}}",
long: "{{date}} 'pukul' {{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",
}),
};