[BB-4649] fix: Duplicate Arabic month#28486
Conversation
|
Thanks for the pull request, @shimulch! I've created OSPR-5973 to keep track of it in JIRA, where we prioritize reviews. Please note that it may take us up to several weeks or months to complete a review and merge your PR. Feel free to add as much of the following information to the ticket as you can:
All technical communication about the code itself will be done via the GitHub pull request interface. As a reminder, our process documentation is here. Please let us know once your PR is ready for our review and all tests are green. |
|
@shimulch Let me know when we can add this to the OSPR list (or schedule a CC review). |
|
@shimulch Thank you for your contribution. Please let me know once this is ready for our review. |
|
@OmarIthawi FYI this PR in case you are interested. |
|
What's the changeset from 2.19 to 2.29? Are there other changes we should be apprised of? |
|
@shimulch 👍🏽 Looks good to me
|
|
@giovannicimolin This can be added to OSPR list now. @natabene This is ready to be reviewed.
@sarina I've just bump up to the latest version. Do you think we should only upgrade to the version this issue has been fixed? That would be quite an old version. |
OmarIthawi
left a comment
There was a problem hiding this comment.
Thanks @shimulch. I've checked the locale update and a relatively minor and good translation update.
I didn't check the other changes that might have come with moment.js.
Out of scope of this pull request:
This fix is totally acceptable, it standarizes the month names only for Egypt locale which might be weird for learners from Iraq and Syria which uses a slightly different locale.
This should be resolved at moment js by introducing another locale to have country-specific date format which adds a really nice UX. I've provided this feedback on the original moment js issue: moment/moment#4270 (comment)
|
@shimulch I'm hesitant to just "upgrade to the latest version" of a package when we're unaware of what other changes have been introduced. Plus your JS tests are failing. I'd like you to understand what changes this bump introduces and make sure the tests are passing. |
|
Your PR has finished running tests. There were no failures. |
|
@sarina Thanks for raising concern regarding the upgrade to the latest version. I did check the change log and nothing actually seem alerting to me. But I do think jumping over a lot of releases is not a good idea. I've reworked on the PR and downgraded to 2.20.1. I don't see any breaking changes there. Furthermore, I've also fixed the test case. @OmarIthawi can you review if this spec change is correct? |
|
@shimulch the spec change looks good. Thanks! |
sarina
left a comment
There was a problem hiding this comment.
Perhaps in a separate PR we could do the full upgrade to the latest moment.js and the authour could go through the release notes calling out any relevant or breaking changes.
|
EdX Release Notice: This PR has been deployed to the staging environment in preparation for a release to production. |
|
EdX Release Notice: This PR has been deployed to the production environment. |
1 similar comment
|
EdX Release Notice: This PR has been deployed to the production environment. |
…te-arabic-month [BB-4649] fix: Duplicate Arabic month (cherry picked from commit 31854bd)
|
@shimulch 🎉 Your pull request was merged! Please take a moment to answer a two question survey so we can improve your experience in the future. |
|
@shimulch could you port this changes to lilac.master? as part of BB-4877 |
…te-arabic-month [BB-4649] fix: Duplicate Arabic month (cherry picked from commit 31854bd)
|
@alfredchavez created https://github.com/edx/edx-platform/pull/29208 to cherry-pick this to |
…te-arabic-month [BB-4649] fix: Duplicate Arabic month (cherry picked from commit 31854bd)
Description
Arabic months are being shown in duplicates. The issue is from moment js. This issue has been reported and solved back in 2017. But unfortunately, Open edX depending on a version before that.
Before this PR

After this PR

Testing instructions
make dev.up.lms.http://localhost:18000/update_lang/.http://localhost:18000/courses.Deadline
None
Other information
Reviewers