Files
klz-cables.com/.pnpm-store/v10/files/0a/5f3425fd2891519bde03d7c2a228e5201ff4c87f0674c954a62708e738bbe5dd2cc809c4de1ee04a84911d4bbe9283653c5f95cde0e6f2745acfd6e8cdb335
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

74 lines
2.3 KiB
Plaintext

import type TimeZone from './TimeZone.js';
/**
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat
*/
type DateTimeFormatOptions = Intl.DateTimeFormatOptions & {
/**
* Examples:
* - numeric: "2021"
* - 2-digit: "21"
*/
year?: 'numeric' | '2-digit';
/** Examples:
* - numeric: "3"
* - 2-digit: "03"
* - long: "March"
* - short: "Mar"
* - narrow: "M"
*/
month?: 'numeric' | '2-digit' | 'long' | 'short' | 'narrow';
/** Examples:
* - numeric: "2"
* - 2-digit: "02"
*/
day?: 'numeric' | '2-digit';
/** Examples:
* - numeric: "2"
* - 2-digit: "02"
*/
hour?: 'numeric' | '2-digit';
/** Examples:
* - numeric: "2"
* - 2-digit: "02"
*/
minute?: 'numeric' | '2-digit';
/** Examples:
* - numeric: "2"
* - 2-digit: "02"
*/
second?: 'numeric' | '2-digit';
/** Examples:
* - long: "Thursday"
* - short: "Thu"
* - narrow: "T"
*/
weekday?: 'long' | 'short' | 'narrow';
/** Examples:
* - long: "Anno Domini"
* - short: "AD", narrow "A"
*/
era?: 'long' | 'short' | 'narrow';
/** If this is set to `true`, a 12-hour am/pm format is used. Otherwise a 24-hour time.
*
*/
hour12?: boolean;
/** Examples:
* - long: "Pacific Daylight Time"
* - short: "PDT"
*/
timeZoneName?: 'long' | 'short';
/**
* One of the [database names from the TZ database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List).
*/
timeZone?: TimeZone;
localeMatcher?: 'best fit' | 'lookup';
formatMatcher?: 'best fit' | 'basic';
dateStyle?: 'full' | 'long' | 'medium' | 'short';
timeStyle?: 'full' | 'long' | 'medium' | 'short';
calendar?: 'buddhist' | 'chinese' | 'coptic' | 'ethiopia' | 'ethiopic' | 'gregory' | 'hebrew' | 'indian' | 'islamic' | 'iso8601' | 'japanese' | 'persian' | 'roc';
dayPeriod?: 'narrow' | 'short' | 'long';
numberingSystem?: 'arab' | 'arabext' | 'bali' | 'beng' | 'deva' | 'fullwide' | 'gujr' | 'guru' | 'hanidec' | 'khmr' | 'knda' | 'laoo' | 'latn' | 'limb' | 'mlym' | 'mong' | 'mymr' | 'orya' | 'tamldec' | 'telu' | 'thai' | 'tibt';
hourCycle?: 'h11' | 'h12' | 'h23' | 'h24';
};
export default DateTimeFormatOptions;