Ask HN: Python Datetime Conversion

1 pointsposted a year ago
by hamid_rostami

Item id: 41688529

2 Comments

saintamh

a year ago

I think it’s because you’re using %H whereas what you want is %I

hamid_rostami

a year ago

Well spotted, that fixes the issue, thanks!