←back to thread

189 points GordonS | 1 comments | | HN request time: 0s | source
Show context
welder ◴[] No.19534121[source]
> A Valid Use Case For timestamp without time zone

This should be "A Valid Use Case For timestamp with time zone".

This article gets it all wrong. The only time it's acceptable to store time with time zone is DATES that do not have a TIME component.

replies(1): >>19534300 #
groestl ◴[] No.19534300[source]
I'm probably just misunderstanding, but a calendar like Google Calendar definitely needs to store time with a time zone (i.e. dates with a time component). This allows to keep a scheduled event at 9 AM, even if the time zone offset is redefined (due to a political event).
replies(2): >>19534405 #>>19535029 #
1. alboy ◴[] No.19534405[source]
Or some of the schedulees of the events move across time zones. There're absolutely other use cases.