You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2021/12/20 14:16:39 UTC

[GitHub] [superset] zhaoyongjie commented on a change in pull request #17816: fix(time_picker): Fix incorrect time range display

zhaoyongjie commented on a change in pull request #17816:
URL: https://github.com/apache/superset/pull/17816#discussion_r772399029



##########
File path: superset-frontend/src/explore/constants.ts
##########
@@ -136,4 +136,9 @@ export const TIME_FILTER_MAP = {
 
 // TODO: make this configurable per Superset installation
 export const DEFAULT_TIME_RANGE = 'No filter';
+// Default time range endpoints [start, end)
+export const DEFAULT_TIME_RANGE_ENDPOINTS: TimeRangeEndpoints = [

Review comment:
       Good fix! Could we have a way to get `DEFAULT_TIME_RANGE_ENDPOINTS` from the backend?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org