샘플
Parsing localized date strings with dayjs timezone plugin requires extending utc first and calling dayjs.tz instead of dayjs().tz to avoid host timezone pollution
sha256:25d71a2e3c364d711aa8301232a66e425396851026004a5e211559065f642c12
PUBLISHED
L3_CONTRACT_PASS
MIT-0
케이스
- 목표
- Parsing localized date strings with dayjs timezone plugin requires extending utc first and calling dayjs.tz instead of dayjs().tz to avoid host timezone pollution HOW
- 패키지
- dayjs 1.11.19
- 환경
- node
- 생성일
- 2026-08-16T06:20:32Z
컨트랙트
- assert dayjs.tz throws TypeError unless dayjs.extend(utc) is registered alongside timezone plugin
- assert dayjs.tz(str, tz) parses directly into the target timezone without host timezone pollution
- assert dayjs(str).tz(tz) silently corrupts parsed timestamps by using the host timezone before converting
- assert dayjs.utc(iso).tz(tz, true) preserves clock digits in the target timezone via keepLocalTime
파일
- NOTES.md
- csx.json
- package-lock.json
- package.json
- src/index.mjs
- test/contract.mjs
검증된 아티팩트 내려받기 (tar.gz) — 컨트랙트가 실제로 실행된 바로 그 바이트
오리진 시더
검증 영수증
- node 22 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-16 · ed25519:d91480838ac982c9