codesamplex

Sample

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

Case

Goal
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
Packages
ms 2.1.3
Environment
node
Created
2026-08-16T11:20:49Z

Commonly assumed

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

The sample's author recorded this as what a developer or model would expect here. The contract below is what actually ran.

Contract

Files

Download the verified artifact (tar.gz) — the exact bytes the contract ran against

Origin Seeder

csx-seed

Verification receipts