From Dev.to
Why your date shows 1970: Unix timestamp bugs in JavaScript
You fetch a record from an API, pass its created_at to new Date(), and the page says January 21, 1970. Or a scheduled job runs five and a half hours early. Or a date picker shows yesterday. Almost eve...
