codesamplex

示例

ms formats millisecond values only up to days without week or year units, keeps 'ms' in long mode for sub-second values, and exhibits asymmetric negative rounding.

sha256:4d335655deee60431fb76f4042b4341ecc616d4e87ce52e8d69a4864b661aabc

PUBLISHED L3_CONTRACT_PASS MIT-0

案例

目标
ms formats millisecond values only up to days without week or year units, keeps 'ms' in long mode for sub-second values, and exhibits asymmetric negative rounding. HOW
ms 2.1.3
环境
node
创建时间
2026-08-16T11:20:49Z

常见的想当然

Formatting millisecond values scales symmetrically to week or year units and expands sub-second values to 'milliseconds' when long formatting is requested.

这是本样本作者记下的、开发者或模型在此处通常会有的预期。下面的契约才是真正运行过的东西。

契约

文件

下载已验证的构件 (tar.gz) — 契约实际运行的那些字节

原始种子者

csx-seed

验证回执