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

MacOs Web doesn't returning correct Time Format #23

Open
rohanjariwala03 opened this issue Oct 22, 2024 · 0 comments
Open

MacOs Web doesn't returning correct Time Format #23

rohanjariwala03 opened this issue Oct 22, 2024 · 0 comments

Comments

@rohanjariwala03
Copy link

rohanjariwala03 commented Oct 22, 2024

I’ve implemented a feature with the help of your package and it works perfectly across all platforms except for MacOS web. When building the app for Chrome on MacOS in debug mode, I’m encountering an issue where the time format is not being returned correctly. While the date format is retrieved as expected, the time format is always returned as h:mm regardless of the actual time settings on the system.

For reference, here is the output of the time format on MacOS web (as seen in the attached image):

image

However, the actual time format set on my Mac is as follows:

Screenshot 2024-10-22 at 15 40 59 image

As you can see, the correct format should display a 24-hour clock (HH:mm), but the output always defaults to a 12-hour format (h:mm), even though the system is configured otherwise. I’ve ensured that the date format is correctly retrieved, but this issue seems to be specific to the time format on MacOS web builds. Any insights or suggestions on how to resolve this discrepancy would be greatly appreciated.

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

1 participant