This is an automated email from the ASF dual-hosted git repository.

erikrit pushed a commit to branch etr2460--time-grain-options
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git

commit e4a0e436ec643a4766243420ba2938cde0c31d14
Author: Erik Ritter <[email protected]>
AuthorDate: Tue May 5 14:50:19 2020 -0700

    fix: re-add all time grain options to the new chart API
---
 superset/charts/schemas.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/superset/charts/schemas.py b/superset/charts/schemas.py
index 8302f0c..dcdda49 100644
--- a/superset/charts/schemas.py
+++ b/superset/charts/schemas.py
@@ -610,6 +610,10 @@ class ChartDataExtrasSchema(Schema):
                 "P1M",
                 "P0.25Y",
                 "P1Y",
+                "1969-12-28T00:00:00Z/P1W",  # Week starting Sunday
+                "1969-12-29T00:00:00Z/P1W",  # Week starting Monday
+                "P1W/1970-01-03T00:00:00Z",  # Week ending Saturday
+                "P1W/1970-01-04T00:00:00Z",  # Week ending Sunday
             ),
         ),
         required=False,

Reply via email to