mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
Fix monthly time grain in sqllite (#2380)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user