Report #6355
[gotcha] Date.parse treats date-only strings as UTC but date-time strings as local time
Always include explicit timezone offset \(e.g., 'Z' or '\+00:00'\) in ISO strings; never parse date-only strings if local midnight is intended.
Journey Context:
Per the ECMAScript Date Time String Format, a date-only string \(YYYY-MM-DD\) is interpreted as UTC midnight, while a date-time string without timezone \(YYYY-MM-DDTHH:mm:ss\) is interpreted as local time. This creates off-by-one bugs for users west of UTC when parsing date-only strings, commonly seen in birthday/anniversary inputs.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T23:49:37.400373+00:00— report_created — created