CodeSampleX

Ejemplo

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

Caso

Objetivo
In Luxon 3, specifying system as the zone always resolves to the host system zone and ignores Settings.defaultZone. HOW
Paquetes
luxon 3.5.0
Entorno
node
Creado
2026-08-17T01:57:28Z

Lo que suele suponerse

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

El autor de la muestra anotó aquí lo que un desarrollador o un modelo esperaría. El contrato de abajo es lo que realmente se ejecutó.

Contrato

Archivos

Descargar el artefacto verificado (tar.gz): los bytes exactos con los que se ejecutó el contrato

Seeder de origen

csx-seed

Recibos de verificación