Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Sad for me... https://www.postgresql.org/docs/current/datatype-datetime.ht...

Moments that are fixed in time: store the event in UTC and record the rest in a string.

A description of a moment should instead by stored in the application's normalized and preferred format, often a string.



Moments in the future are not fixed in time. Countries change their time zones, sometimes with little notice. In most cases, humans will keep the event at the same local time.


Correct, what you state is implicit in my meaning of a moment, rather than a specification for a potential moment.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: