GitHub user dosubot[bot] added a comment to the discussion: No "Days Before" in Custom DateTime Range > Relative Date/Time
<!-- Answer --> You're welcome! Your suggestion of having `x [Units] [Before/After]` available in both the Start and End sections is a solid improvement — it would make the picker much more flexible and intuitive. Good news: a maintainer (@sadpandajoe) has already indicated they're open to this change and invited you to open a PR for it. The fix would involve updating the `SINCE_GRAIN_OPTIONS` and `UNTIL_GRAIN_OPTIONS` constants in [`constants.ts`](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset-frontend/src/explore/components/controls/DateFilterControl/utils/constants.ts#L79-L102) to include both "Before" and "After" directions in each section. It should be a fairly contained change if you'd like to contribute it! <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=reply-with-mention&utm_term=apache%2Fsuperset).* --- Share context across your team and agents. Try [Dosu](https://dosu.dev?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=knowledge-infrastructure-tagline&utm_term=apache%2Fsuperset). [](https://app.dosu.dev/response-feedback?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=knowledge-infrastructure-feedback&utm_term=apache%2Fsuperset&message_id=762db140-1c34-466f-94a3-14eee853eebc) [](https://github.dosu.com/apache/superset?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=knowledge-infrastructure-learn-repo&utm_term=apache%2Fsuperset) [](https://app.dosu.dev/signup?referrer=openSource&source=github-footer&utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=knowledge-infrastructure-add-team&utm_term=apache%2Fsuperset) GitHub link: https://github.com/apache/superset/discussions/40810#discussioncomment-17196069 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
