carbon-addons-iot-react
carbon-addons-iot-react copied to clipboard
[DateTimePicker] RTL story issues
What package is this for?
- [x] React
- [ ] Angular
Describe the bug
When in RTL mode the "to" is out of place. ie. to Now {DATE} instead of Now to {DATE}

When in RTL mode the and setting a relative date the number in the Last input is out of place. It's by the - instead of on the left.

To Reproduce
Steps to reproduce the behavior:
- Go to https://next.carbon-addons-iot-react.com/?path=/story/1-watson-iot-datetime-picker--default
- Observe the above issues
Expected behavior
Story should render correctly for RTL
Environment/versions:
- OS: [e.g. MacOS, Windows]
- Browser: [e.g. chrome, safari]
carbon-addons-iot-reactversion: [e.g.v2.60.0]
Additional context
If applicable, add screenshots to help explain your problem.
Add any other context about the problem here.
Specific timeline issues / requests
Do you want this work within a specific time period? Is it related to an upcoming release?
NB: The core contributors will try to work with your timeline, but it's not guaranteed. The earlier you make a request in advance of a desired delivery date, the better!
FYI, we are tracking all RTL issues with the "type: RTL" tag. When we have an RTL requirement and commitment for MAS, we will re-prioritize all such items higher.