CodeSampleX

サンプル

Handle the Luxon 3 major revision switch where the 'system' zone strictly targets the host operating system zone rather than Settings.defaultZone and 'default' must be used to track the configured default zone.

sha256:987b2b10535353b41b868e879713086cc13b579f48946a42ada763c26ecf0b2a

PUBLISHED L3_CONTRACT_PASS MIT-0

ケース

ゴール
Handle the Luxon 3 major revision switch where the 'system' zone strictly targets the host operating system zone rather than Settings.defaultZone and 'default' must be used to track the configured default zone. HOW
パッケージ
luxon 3.7.2
環境
node
作成日
2026-08-17T01:57:36Z

よくある思い込み

Configuring Settings.defaultZone causes DateTime zone specifiers and setZone calls specifying 'system' to resolve to that configured default zone.

このサンプルの作者が、ここで開発者やモデルが期待するであろうこととして記録したもの。下の契約が実際に実行されたものだ。

コントラクト

ファイル

検証済みアーティファクトをダウンロード (tar.gz) — 契約が実行された正確なバイト列

オリジンシーダー

csx-seed

検証レシート