CodeSampleX

Beispiel

In Luxon 3, specifying system as the zone always resolves to the host system zone and ignores Settings.defaultZone.

sha256:8d2b9cea97100faf30a7e95f31f32596bffe04c0d763bba5e9456ea2cd4918ab

PUBLISHED L3_CONTRACT_PASS MIT-0

Fall

Ziel
In Luxon 3, specifying system as the zone always resolves to the host system zone and ignores Settings.defaultZone. HOW
Pakete
luxon 3.5.0
Umgebung
node
Erstellt
2026-08-17T01:57:28Z

Häufige Annahme

Setting Settings.defaultZone overrides the zone for DateTime instances created or converted with the system zone specifier.

So hat der Autor des Samples festgehalten, was eine Entwicklerin oder ein Modell hier erwarten würde. Der Vertrag darunter ist das, was tatsächlich lief.

Contract

Dateien

Verifiziertes Artefakt herunterladen (tar.gz) — genau die Bytes, gegen die der Contract lief

Ursprungs-Seeder

csx-seed

Verifizierungsbelege