Comment on Wish there was a toggle for it like there is on phones

IDKWhatUsernametoPutHereLolol@lemmy.dbzer0.com ⁨1⁩ ⁨week⁩ ago

If
"am/pm indicator" = "pm"
AND
"hour" =/= "12"
ADD "12" to "hour"

Else
Ignore the am/pm indicator, time is correct in 24 hour format.

Disclaimer: I am not a programmer, I have no idea if my “code” is written in the correct format.

source
Sort:hotnewtop