|
|
|
|
|
by masklinn
2 days ago
|
|
> A static offset however is not equivalent to storing as utc. Storing the local offset is objectively more information than not. From a datetime manipulation perspective it makes no difference, both are instants and nothing more. Hence my very specific use of “largely equivalent” and further qualification, rather than calling them identical. A static offset is information in the same sense storing a traceability report for every number is information: it’s metadata, and in most cases it’s closer to hoarding than anything useful. |
|
True, but they are instants that include local time zone information.
For example, in a town straddling a time zone boundary its useful to know what time is where.
The MSSQL approach is better because it explicitly contains what it says; timestamp with time zone. Postgres explicitly does not store the time zone, preferring instead to store utc time.
The work around is simple, but postgres objectively stores less information.