Menu

1 / 4

The JavaScript Date Fix Shipped. Then Apple Didn’t.

JavaScript in Plain English - Medium·CodeInsights·17 days ago
#rVJHZvzk
Reading 0:00
15s threshold

Member-only story

The JavaScript Date Fix Shipped. Then Apple Didn’t.

Temporal reached Stage 4 in March 2026 and runs natively in Chrome, Edge, Firefox, Node 26, Deno and Bun. MDN’s own data says iOS Safari is false — and since every browser on iOS is WebKit, that means no native Temporal on any iPhone or iPad.

CodeInsights

8 min readJust now

Press enter or click to view image in full size Everything needed to get the date right was packed. The part that reads it correctly never arrived.

Here are two JavaScript expressions. Both look like the same date.

new Date('2026-03-27') // a date-only ISO string

new Date('2026/03/27') // the legacy slash format

On my machine, under TZ=America/New_York , here is what they produce:

'2026-03-27' -> Thu Mar 26 2026 20:00:00 GMT-0400

'2026/03/27' -> Fri Mar 27 2026 00:00:00 GMT-0400

local day from ISO parse : 26

local day from slash parse: 27

Read that middle line again. The string says March 27 and the local date is March 26.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.