Exactly, that’s why TopCal uses Luxon.js
But then there are still other things that need to be considered depending on specific apps, but the majority of the headaches get solved with a good library