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

验证回执