Op here, just wanted to say that I hate dates to death.
In java (my backend language) there are 3 different built-in time libraries/types (For exact moments: java.sql.timestamp, java.util.Date, java.time.Instant)
But in case that wasn't enough, the most recent and recommended module, java.time, has a fuckton of different types of close meaning>java.time.Instant - an instant in time>java.time.ZonedDateTime - Also an instant, this time with timezone information>java.time.LocalDateTime - Generic date and time, NOT a definite moment (depends on timezone, which is not stored)>java.time.ZoneOffset - Literally a timezone offset. Not a timezone though! A single timezone can have two offsets due to dst>java.time.ZoneID - This here is the Timezone
Well, JS just assumes your browser knows what's best, and if your browser has the wrong timezone setting... well suck a dick. And firefox browsers have wrong setting on purpose to fight trackers. Am I fucked? Well, there is
a built-in library called "Intl" that allows for the programmer to work with timezones, but then older browsers go out the window. IE for example doesn't support jack shit. Why does this have to be so hard? Do I really need to plug in some third party "moment.js" library or implement timezone functionality myself
Course not, fuck IE