Skip to content

How to know if the user uses a 12 or 24 hour time format in the setting of phone? #15512

Closed

Description

@realcarlos

I want to display the time appropriately no matter the languages selected :

12-hours : 1:00 PM
24-hours: 13:00

Activity

  1. zoechi commented on Mar 14, 2018

    @zoechi
    Contributor
  2. mit-mit commented on Mar 14, 2018

    @mit-mit
    Member

    Closing as there is no known issue here

  3. realcarlos commented on Mar 19, 2018

    @realcarlos
    Author

    Thank you @zoechi , but I don't want the value of DateTime changes with the locale, so alwaysUse24HourFormat can not do that , I just want to display am or pm , so I need know the setting .

  4. Nazarii77 commented on Jul 27, 2021

    @Nazarii77

    So, how to know what user wants to see? 16:00 or 4:00 PM ?

  5. github-actions commented on Aug 10, 2021

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  6. locked as resolved and limited conversation to collaborators on Aug 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions