Skip to content

Commit

Permalink
Fix Druid granularity timeZone (#2037)
Browse files Browse the repository at this point in the history
timezone -> timeZone
  • Loading branch information
0x0ece authored and bkyryliuk committed Jan 25, 2017
1 parent 27ed0b3 commit 1f2126f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superset/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -2202,7 +2202,7 @@ def granularity(period_name, timezone=None, origin=None):

granularity = {'type': 'period'}
if timezone:
granularity['timezone'] = timezone
granularity['timeZone'] = timezone

if origin:
dttm = utils.parse_human_datetime(origin)
Expand Down

0 comments on commit 1f2126f

Please sign in to comment.