And it isn't even correct. Technically, 12:00 isn't AM or PM, it's just noon or midnight.
I live in the US, and even I don't use AM or PM unless I'm forced into it. For me, 24 hour time all the way. Anyone who's been in the military or worked for the government wouldn't have a problem with it.
As far as I know, my large network of friends, as well as my relatives, have no problem with 24 hour time. As an American I sometimes find US-centric ignorance of worldwide standards embarrassing.
16
u/Makonede Oct 18 '26
where's the humor? this is just the most dogshit python i've ever seen in my life
14
u/This_Growth2898 Oct 18 '26
It's like "when you're paid for the line of code"?
2
u/SeaNational3797 Oct 18 '26
as_time = lambda hour_num: __import__('datetime').datetime(1970, 1, 1, hour_num).strftime('%I %p')1
u/ANixosUser Oct 21 '26
wait python doesnt have scopes? tf you define inside if branch and then use it outside?
-12
u/amatulic Oct 18 '26
And it isn't even correct. Technically, 12:00 isn't AM or PM, it's just noon or midnight.
I live in the US, and even I don't use AM or PM unless I'm forced into it. For me, 24 hour time all the way. Anyone who's been in the military or worked for the government wouldn't have a problem with it.