Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix timetable when device locale is set to Arabic #904

Merged
merged 1 commit into from
Sep 8, 2023

Conversation

nilsreichardt
Copy link
Member

Description

The issue was that NumberFormat worked a bit different in the Arabic system than in the German system. As a workaround, I hard-coded the NumberFormat to German because our App is primarily focused on the German market. If we go international, we need to refactor the whole Time system.

Demo

Before After
image image

Related tickets

Fixes #903

@github-actions
Copy link

github-actions bot commented Sep 7, 2023

Visit the preview URL for this PR (updated for commit 0098c5c):

https://sharezone-test--pr904-fix-arabic-timetable-lb5zaaux.web.app

(expires Sun, 10 Sep 2023 09:55:23 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 4cb3ae61e1e018abfd9841fd3239f5b49ccc034b

@nilsreichardt nilsreichardt added this pull request to the merge queue Sep 7, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 7, 2023
@nilsreichardt nilsreichardt added this pull request to the merge queue Sep 7, 2023
Merged via the queue into main with commit 69e9ead Sep 8, 2023
@nilsreichardt nilsreichardt deleted the fix-arabic-timetable branch September 8, 2023 03:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Timetable does not when device language is Arabic
2 participants