4 ms·
Oops you're right. I forgot to also say that the date is not the time. The date can be stored together with the time as a timestamp, but all timestamps need to
by sublinear 3y ago
Oops you're right. I forgot to also say that the date is not the time.
The date can be stored together with the time as a timestamp, but all timestamps need to be in UTC. Getting the user's locale and applying their timezone is done on the client side. What matters to people stays on the client side.
- randallsquared 3y agoThe client might be a desktop app, a smartphone, a web browser (maybe in a public library, where they don't control the locale...), or just an SMS receiver. The only reliable place to apply these things is on the server, where you can look up the location of the appointment or event, and the preferences of the user, and apply whatever skew is appropriate.