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

Arabic locale time issue #118

Open
Xellly opened this issue Jun 13, 2021 · 2 comments
Open

Arabic locale time issue #118

Xellly opened this issue Jun 13, 2021 · 2 comments

Comments

@Xellly
Copy link

Xellly commented Jun 13, 2021

Hello,

I changed my application to Arabic and had an issue with the DateFormat("dd-MM-yyyy hh:mm-a"), it always puts the Arabic letter instead of AM or PM, even when locale is set to English in the widget. This is causing me issues as DateTime apparently can't deal with it and results in an exception.

Edit:
This happens to whatever the language the phone has, had it happen with Chinese despite my app only supporting English and Arabic.

@Xellly Xellly changed the title Locale issue Arabic locale time issue Jun 13, 2021
@adham-ashraf77
Copy link

any solution ?

@Xellly
Copy link
Author

Xellly commented Mar 24, 2022

any solution ?

I made it a string and replaced PM and AM manually

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

No branches or pull requests

2 participants