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

AM/PM are backward for 12:00 #185

Closed
tkeithblack opened this issue Sep 3, 2022 · 3 comments
Closed

AM/PM are backward for 12:00 #185

tkeithblack opened this issue Sep 3, 2022 · 3 comments

Comments

@tkeithblack
Copy link

When using AM/PM mode (PickerDateTimeType.kHM_AP), the AM & PM are backwards.

Selecting 12:00 AM returns 12:00:00.000. It should return 00:00:00.000.
Selecting 12:00 PM returns 00:00:00.000. It should return 12:00:00.000.

This also applies to any minutes within the 12 range.

Selecting 12:30 AM returns 12:30:00.000.
Selecting 12:30 PM returns 00:30:00.000.

Note: In AM/PM notation AM & PM switch exactly at 12:00. 11:59 = AM, 12:00 = PM

@MoSala95
Copy link

MoSala95 commented Sep 7, 2022

I can confirm the same issue with me.

@yangyxd
Copy link
Owner

yangyxd commented Jan 29, 2023

thanks! Will be fixed in v2.1.0.

@yangyxd yangyxd closed this as completed Jan 29, 2023
yangyxd pushed a commit that referenced this issue Jan 29, 2023
* Follow the file naming convention in Effective Dart, #59
* fix: AM/PM are backward for 12:00, #185
* added ROMANIAN localization
@jeetbv
Copy link

jeetbv commented Sep 20, 2023

This issue is not resolved yet.

When I am trying to select 12:05 AM, it always gives me 12:05 PM.
Please check and help us.

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

4 participants