Click any tag below to further narrow down your results
Links
This article discusses a common problem with JavaScript's Date object related to time zones. The author explains a specific bug encountered when manipulating dates and suggests using the upcoming Temporal API for clearer date handling without time zone confusion.
The article explains the discrepancies in JavaScript date parsing, specifically how different date formats ('2025/05/28' vs. '2025-05-28') can lead to different results due to varying interpretations of local time and UTC across browsers. It traces the evolution of these parsing behaviors and introduces the upcoming Temporal API, which aims to eliminate ambiguity in date handling.