arqex / arqex/react-datetime

RTL support: Date change

Open
#614 3 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
2k
Forks
858
PR merge metrics
No merged PRs in 30d

Description

Need to support date change in both ltr and rtl mode.
ltr (e.g. 'en') works just fine. However Datetime disables months and years in rtl locale(e.g. 'ar-sa')
[codepen example](https://codepen.io/skraspost/pen/qLzVJB)
![image](https://user-images.githubusercontent.com/43149013/51391631-a1a1b900-1b43-11e9-8bc1-ce512e895e1a.png)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the linked CodePen example with the datetime picker in both LTR ('en') and RTL ('ar-sa') locales. Trace why months and years are disabled only in RTL mode; done means date changes work in both directions without disabling those controls.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
frontend, internationalization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.