News for hackers. Stuff that matters.
Re:RFC 3339 vs. ISO 8601 by sublinear on Thursday August 31, 2023 @08:43PM (#37345406)
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.

Re:RFC 3339 vs. ISO 8601 by randallsquared on Saturday September 02, 2023 @12:11PM (#37362832)
The 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.