Sample
Strict custom format parsing in dayjs requires extending customParseFormat, otherwise format strings and strict validation are silently ignored
sha256:87800d8fad2a735771cf483079b7dff6848b1330f0e2b1ccc1b693a0e242c2db
PUBLISHED
L3_CONTRACT_PASS
MIT-0
Case
- Goal
- Strict custom format parsing in dayjs requires extending customParseFormat, otherwise format strings and strict validation are silently ignored HOW
- Packages
- dayjs 1.11.19
- Environment
- node
- Created
- 2026-08-16T06:20:32Z
Contract
- extend dayjs with customParseFormat plugin
- parse DD-MM-YYYY format strictly so month is not confused with day
- reject impossible calendar dates like 2026-02-31 under strict parsing
- reject format mismatches like ISO date strings when DD/MM/YYYY is required
Files
- NOTES.md
- csx.json
- package-lock.json
- package.json
- src/index.mjs
- test/contract.mjs
Download the verified artifact (tar.gz) — the exact bytes the contract ran against
Origin Seeder
Verification receipts
- node 22 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-16 · ed25519:d91480838ac982c9