You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
How to know if the user uses a 12 or 24 hour time format in the setting of phone? #15512
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 .
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.
Activity
zoechi commentedon Mar 14, 2018
This question should better be asked on StackOverflow
See https://docs.flutter.io/flutter/widgets/MediaQueryData/alwaysUse24HourFormat.html
mit-mit commentedon Mar 14, 2018
Closing as there is no known issue here
realcarlos commentedon Mar 19, 2018
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 .
Nazarii77 commentedon Jul 27, 2021
So, how to know what user wants to see? 16:00 or 4:00 PM ?
github-actions commentedon Aug 10, 2021
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 -vand a minimal reproduction of the issue.