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
16 lines
606 B
Plaintext
16 lines
606 B
Plaintext
/**
|
|
* CanonicalizeTimeZoneName ( timeZone )
|
|
* https://tc39.es/ecma402/#sec-canonicalizetimezonename
|
|
*
|
|
* Extended to support UTC offset time zones per ECMA-402 PR #788 (ES2026).
|
|
* Returns the canonical and case-regularized form of a timezone identifier.
|
|
*
|
|
* @param tz - The timezone identifier to canonicalize
|
|
* @param implDetails - Implementation details containing timezone data
|
|
* @returns The canonical timezone identifier
|
|
*/
|
|
export declare function CanonicalizeTimeZoneName(tz: string, { zoneNames, uppercaseLinks }: {
|
|
zoneNames: readonly string[];
|
|
uppercaseLinks: Record<string, string>;
|
|
}): string;
|