You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ma...@apache.org on 2018/05/08 06:19:10 UTC
[incubator-superset] branch master updated: Support hours in
relative time range selection (#4950)
This is an automated email from the ASF dual-hosted git repository.
maximebeauchemin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git
The following commit(s) were added to refs/heads/master by this push:
new 65c4499 Support hours in relative time range selection (#4950)
65c4499 is described below
commit 65c4499befad0d1d92a5edcdb0b226174c6e5230
Author: Yuance.Li <li...@gmail.com>
AuthorDate: Tue May 8 14:19:08 2018 +0800
Support hours in relative time range selection (#4950)
---
superset/assets/src/explore/components/controls/DateFilterControl.jsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/superset/assets/src/explore/components/controls/DateFilterControl.jsx b/superset/assets/src/explore/components/controls/DateFilterControl.jsx
index 3669c9f..e22a320 100644
--- a/superset/assets/src/explore/components/controls/DateFilterControl.jsx
+++ b/superset/assets/src/explore/components/controls/DateFilterControl.jsx
@@ -13,7 +13,7 @@ import ControlHeader from '../ControlHeader';
import PopoverSection from '../../../components/PopoverSection';
const RELATIVE_TIME_OPTIONS = ['ago', 'from now'];
-const TIME_GRAIN_OPTIONS = ['seconds', 'minutes', 'days', 'weeks', 'months', 'years'];
+const TIME_GRAIN_OPTIONS = ['seconds', 'minutes', 'hours', 'days', 'weeks', 'months', 'years'];
const propTypes = {
animation: PropTypes.bool,
--
To stop receiving notification emails like this one, please contact
maximebeauchemin@apache.org.