How Do I aggregate Data By Day and Still Respect Timezone?

后端 未结 3 2001
逝去的感伤
逝去的感伤 2021-02-14 06:27

We are currently using a summary table that aggregates information for our users on an hourly basis in UTC time. The problem we are having is that this table is becoming too la

3条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-02-14 07:35

    I met this problem too. I take this solution: the data with date type use local timezone, the other data with datetime type use UTC timezone, because the statistics index is local. Another reason is now we have only local data.

提交回复
热议问题