Inserting and reading a `date` type field from different time zones. should time zones even be considered here?
问题 Working with Node, moment.js and PostgreSQL 9.6 It's 2020-01-24 00:00:00+00:00 and Client A (the writer) is at offset -06:00 and casually INSERT s a record with a date field in it, with value 2020-01-23 , and thinks Well, this record will hold everything I need to store for date 2020-1-23 (their 2020-01-23 ) Now it's 2020-01-24 00:20:00+00:00 and Client B (the reader) is at offset +11:00 and wants to see the information (from the same db and table) regarding 2020-01-24 , BUT THERE IS NONE!!