Feodor2 / Mypal68

web browser
Other
542 stars 34 forks source link

toLocaleDateString() broken in 68.14 #460

Open Pikse opened 3 weeks ago

Pikse commented 3 weeks ago
 const day = new Date(2022, 3, 11);
 console.log(day.toLocaleDateString('en-US', { weekday: "short" }));

Starting MyPal 68.14.1 this returns Mon Apr 11 2022 (GMT+0000).

In MyPal 68.13.9 it returned Mon which is the expected result.

These longer dates make text on my go-to weather site overlap and unreadable.