diff --git a/superset/utils/pandas_postprocessing/utils.py b/superset/utils/pandas_postprocessing/utils.py index 46f5a0c50529c..ab39135918b7c 100644 --- a/superset/utils/pandas_postprocessing/utils.py +++ b/superset/utils/pandas_postprocessing/utils.py @@ -86,10 +86,10 @@ "P1M": "M", "P3M": "Q", "P1Y": "A", - "1969-12-28T00:00:00Z/P1W": "W", - "1969-12-29T00:00:00Z/P1W": "W", - "P1W/1970-01-03T00:00:00Z": "W", - "P1W/1970-01-04T00:00:00Z": "W", + "1969-12-28T00:00:00Z/P1W": "W-SUN", + "1969-12-29T00:00:00Z/P1W": "W-MON", + "P1W/1970-01-03T00:00:00Z": "W-SAT", + "P1W/1970-01-04T00:00:00Z": "W-SUN", } RESAMPLE_METHOD = ("asfreq", "bfill", "ffill", "linear", "median", "mean", "sum")