mirror of
https://github.com/apache/superset.git
synced 2026-04-14 21:54:31 +00:00
Introduce a config DEFAULT_RELATIVE_END_TIME which is used when computing the "Last X days". The default behavior (as currently) is to let that be 'today', which actually means the 0th second of today. We can also let it be 'now' which means the data as of now (ie at query time). Secondly, also introduce another config IS_EPOCH_S_TRULY_UTC, which means that the logged time in epoch_s format is actually in UTC. Currently (as the default) is that it it is in the local (superset webserver) timezone. ** There is no backward incompatibility with thes config features since the default behavior hasn't changed. **