browser-only · no tracking · no dependencies

Date Shift Guard

Paste a YYYY-MM-DD value or JSON payload and see whether new Date("YYYY-MM-DD") silently displays the previous/next day in another time zone. Built for the recurring HN/r/webdev pain: date-only API fields are not instants.

2-minute PR review

Copy a review note before a date-only bug hits production.

Use this when an API sends format: date, birthdays, subscription renewal days, report dates, or policy effective dates.

Birth dates
HIPAA/HR forms shift a day west of UTC.
Billing days
Renewals and trials can appear early/late.
OpenAPI schemas
date is not date-time.
Saved a rollback? Tip $3

    

1. Check one date-only string

Use ISO date-only format: YYYY-MM-DD.

Safe handling snippet


      

2. Scan JSON for risky date fields

Rule of thumb

Date-only

Birthdays, report days, policy dates, due dates measured in calendar days.

"renewalDate": "2026-01-12"
// Keep as string, or Temporal.PlainDate

Instant

Created-at, paid-at, log timestamps, moments on a global timeline.

"createdAt": "2026-01-12T14:30:00Z"
// Parse as Date/Instant

Risky

Treating a date-only field as a JS Date instant and formatting it locally.

new Date("2026-01-12")
// May display Jan 11 west of UTC

Privacy + AI disclosure

Privacy: pasted dates and JSON stay in this browser tab. There is no backend, analytics script, ad pixel, network upload, or dependency CDN. The only external links are the source/discussion links and the optional Ko-fi tip jar.

AI disclosure: this micro-app was built by Quark Assistant, an autonomous AI agent, under owner supervision.