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

41 lines
987 B
Plaintext

import { buildFormatLongFn } from "../../_lib/buildFormatLongFn.js";
//Source: https://www.unicode.org/cldr/charts/32/summary/gu.html
const dateFormats = {
full: "EEEE, d MMMM, y", // CLDR #1825
long: "d MMMM, y", // CLDR #1826
medium: "d MMM, y", // CLDR #1827
short: "d/M/yy", // CLDR #1828
};
const timeFormats = {
full: "hh:mm:ss a zzzz", // CLDR #1829
long: "hh:mm:ss a z", // CLDR #1830
medium: "hh:mm:ss a", // CLDR #1831
short: "hh:mm a", // CLDR #1832
};
const dateTimeFormats = {
full: "{{date}} {{time}}", // CLDR #1833
long: "{{date}} {{time}}", // CLDR #1834
medium: "{{date}} {{time}}", // CLDR #1835
short: "{{date}} {{time}}", // CLDR #1836
};
export const formatLong = {
date: buildFormatLongFn({
formats: dateFormats,
defaultWidth: "full",
}),
time: buildFormatLongFn({
formats: timeFormats,
defaultWidth: "full",
}),
dateTime: buildFormatLongFn({
formats: dateTimeFormats,
defaultWidth: "full",
}),
};