Repository navigation
UI: Fix the Arabic plural test failing on main - #75330
Conversation
Backport failed to create: v3-4-test. View the failure log Run detailsNote: As of Merging PRs targeted for Airflow 3.X In matter of doubt please ask in #release-management Slack channel.
You can attempt to backport this manually by running: cherry_picker a3a4c13 v3-4-testThis should apply the commit to the v3-4-test branch and leave the commit in conflict state marking After you have resolved the conflicts, you can continue the backport process by running: cherry_picker --continueIf you don't have cherry-picker installed, see the installation guide. |
Backport failed to create: v3-4-test. View the failure log Run detailsNote: As of Merging PRs targeted for Airflow 3.X In matter of doubt please ask in #release-management Slack channel.
You can attempt to backport this manually by running: cherry_picker a3a4c13 v3-4-testThis should apply the commit to the v3-4-test branch and leave the commit in conflict state marking After you have resolved the conflicts, you can continue the backport process by running: cherry_picker --continueIf you don't have cherry-picker installed, see the installation guide. |
…72604) (#75323) * [v3-4-test] UI: Render Arabic durations with the correct plural form (#72604) Arabic inflects a counted noun four ways, but dayjs's `ar` locale stores a single template per unit, so every count above one took the 3-10 form: a two-hour deadline read "2 ساعات" where the dual "ساعتان" is required, and an eleven-day one read "11 أيام" instead of "11 يومًا". Locales with comparable plural systems -- Hebrew, Russian, Polish -- already pass a function instead of a template and render correctly at every count; Arabic was simply never migrated. This applies the same treatment locally until the fix can be made upstream. Two assertions from the previous change pinned the uninflected output and are updated here. (cherry picked from commit 8070289) Co-authored-by: Baha Bouali <[email protected]> * UI: Drop Arabic plural test cases that no longer go through dayjs (#75330) (cherry picked from commit a3a4c13) --------- Co-authored-by: Baha Bouali <[email protected]> Co-authored-by: Yuseok Jo <[email protected]>
This removes the two
humanizeSecondscases indayjsArabicPlurals.test.tsthat are failing on main. Their expected values no longer match since #72350 movedhumanizeSecondsfrom dayjs toIntlWas generative AI tooling used to co-author this PR?
{pr_number}.significant.rst, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.