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

Issue with AM/PM Time Conversion #135

Open
david-gogoprint opened this issue Jan 20, 2022 · 1 comment
Open

Issue with AM/PM Time Conversion #135

david-gogoprint opened this issue Jan 20, 2022 · 1 comment

Comments

@david-gogoprint
Copy link

Hi,

I am confused about this example below:

admdavb@Ubuntu:~$ dateutils.dconv -V
dconv 0.3.1
admdavb@Ubuntu:~$ dateutils.dconv -i "%I:%M:%S %p" "12:22:33 PM"
00:22:33
admdavb@Ubuntu:~$ dateutils.dconv -i "%I:%M:%S %p" "12:22:33 AM"
12:22:33

The correct result should be the other way round, i.e. 12:22:33PM is midday and vice-versa.

Am I doing something wrong or is this a bug?

Regards,
David

@hroptatyr
Copy link
Owner

Hi, thanks for the report. This has been fixed in bce4e5d.

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

2 participants