TLDR Web Dev · QUICK LINKS
WHEN JAVASCRIPT DECIDED MY DAY STARTS AT 9AM
Summary from the TLDR Web Dev newsletter
A bug caused by JavaScript's `new Date('YYYY-MM-DD')` constructor interprets the date as midnight UTC, leading to unexpected filtering behavior in a Japanese admin dashboard where data before 9 AM was excluded due to the UTC+9 timezone.