CodeSampleX

Ejemplo

Show that DateTime.local treats a first object argument as options rather than calendar units and requires positional date components.

sha256:10f99ac67c186a7b35b30645c13de8d8089833efb1b4792bddeebae8b4818817

PUBLISHED L3_CONTRACT_PASS MIT-0

Caso

Objetivo
Show that DateTime.local treats a first object argument as options rather than calendar units and requires positional date components. HOW
Paquetes
luxon 3.7.2
Entorno
node
Creado
2026-08-17T03:17:27Z

Lo que suele suponerse

A caller can create a local calendar date with `DateTime.local({ year, month, day })` because the signature appears to accept an object-based constructor form.

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