[Feature Request]: Expose more configurable option in relative range value
Description
For this component. It would be nice if relative range value is more configurable. For example, the relative range don't have to be "in the past", it can be range in the future: now + 1 hour, ...
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
- [X] I checked the current issues for duplicate requests
Though we don't have any existing designs for that, this does look like something you can do already! You will have to provide your own overrides for i18nStrings (e.g. i18nStrings.formatRelativeRange) to say "next" instead of "last", but the value you get in your onChange handler just includes the unit and the value, which you can treat as future units.
Though we don't have any existing designs for that, this does look like something you can do already! You will have to provide your own overrides for
i18nStrings(e.g.i18nStrings.formatRelativeRange) to say "next" instead of "last", but the value you get in youronChangehandler just includes the unit and the value, which you can treat as future units.
Thanks, i will try it and let you known the result.
Thanks, the work around works for me.
I will leave this one open since you've already assigned yourself @avinashbot