mirror of
https://github.com/apache/superset.git
synced 2024-09-12 08:39:45 -04:00
Fix monthly time grain in sqllite (#2380)
This commit is contained in:
parent
2969cc9993
commit
740624ba01
@ -193,7 +193,7 @@ class SqliteEngineSpec(BaseEngineSpec):
|
||||
Grain("week", _('week'),
|
||||
"DATE({col}, -strftime('%w', {col}) || ' days')"),
|
||||
Grain("month", _('month'),
|
||||
"DATE({col}, -strftime('%d', {col}) || ' days')"),
|
||||
"DATE({col}, -strftime('%d', {col}) || ' days', '+1 day')"),
|
||||
)
|
||||
|
||||
@classmethod
|
||||
|
Loading…
Reference in New Issue
Block a user