I once debugged an issue with timestamps being something like 21 minutes off, turned out to be a combination of the database being set to Irish time, someone using a date far in the past as a default, and a historical time zone change in the 1700's when Dublin aligned with London
For such a simple topic and example, this took some work. Here's my first ever screencast on how to create a countdown clock with @vuejs and luxon on @CodePenyoutube.com/watch?v=Nnf6hBwJ…
<after deleting some tweets> Discovered that WSL massively screws up time zones; it takes the current offset from the host machine and sets up a fixed-offset zone with that offset.
Seems like a good alternative/addition/replacement to Moment.js (actually borrows many ideas from Moment.js): a wrapper for JavaScript dates and times, written from scratch.
↬ Luxon.js
moment.github.io/luxon/
↬ Documentation
moment.github.io/luxon/docs/…
Please please please don't set your servers to a local time. Yes, in principle, everything will work. In practice, you will confuse yourself constantly and make hoards of silly mistakes. UTC or GTFO