forked from binary-com/deriv-app
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Farzin/70813/Fix date picker month issue for non english languages (b…
…inary-com#6027) * fix(components): 🐛 fix date picker month issue for non english languages by setting moment locale to `en` * refactor(components): ♻️ refactor `calendar-months` component to rely on month number instead of month name * fix(components): 🌐 add localization support for date picker month names * refactor(components): 🔥 remove redundant `month_headers` * chore(components): ➖ remove redundant `@deriv/translations` dependency * Trigger Build * fix(cashier): 📝 resolve PR comments
- Loading branch information
1 parent
5ecefc1
commit 922f851
Showing
4 changed files
with
14 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 0 additions & 16 deletions
16
packages/components/src/components/calendar/helpers/constants.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
export { month_headers, week_headers, week_headers_abbr, getDaysOfTheWeek, getDecade, getCentury } from './constants'; | ||
export { week_headers, week_headers_abbr, getDaysOfTheWeek, getDecade, getCentury } from './constants'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters