3 ms·
TL;dr: an instant in time and a future time based on a wall clock in a location aren't the same thing. But in my view, it's okay to pretend they are the same t
by mabbo 5y ago
TL;dr: an instant in time and a future time based on a wall clock in a location aren't the same thing.
But in my view, it's okay to pretend they are the same thing and model them all as instants.
Even in the current climate of potentially large changes coming to the TZ database, I doubt there are many developers who will come out ahead trying to model this difference correctly vs manually handling any edge case misses. More likely, you'll have bugs in your implementation because time logic is awful.