Skip to content

MacOs Web doesn't returning correct Time Format #23

@rohanjariwala03

Description

@rohanjariwala03

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions