Skip to content

Commit

Permalink
Using the time zone with specific name for querying Druid (#2143)
Browse files Browse the repository at this point in the history
* Using the time zone with specific name for querying Druid

* Revert DRUID_TZ into tz.tzutc() (#2143)
  • Loading branch information
asdf2014 authored and mistercrunch committed Feb 10, 2017
1 parent fcdd5c6 commit cea310e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions superset/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@
# Druid query timezone
# tz.tzutc() : Using utc timezone
# tz.tzlocal() : Using local timezone
# tz.gettz('Asia/Shanghai') : Using the time zone with specific name
# [TimeZone List]
# See: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
# other tz can be overridden by providing a local_config
DRUID_IS_ACTIVE = True
DRUID_TZ = tz.tzutc()
Expand Down

0 comments on commit cea310e

Please sign in to comment.