renzev@lemmy.world to Lemmy Shitpost@lemmy.worldEnglish · 3 months agoWish there was a toggle for it like there is on phoneslemmy.worldimagemessage-square4fedilinkarrow-up14arrow-down10
arrow-up14arrow-down1imageWish there was a toggle for it like there is on phoneslemmy.worldrenzev@lemmy.world to Lemmy Shitpost@lemmy.worldEnglish · 3 months agomessage-square4fedilink
minus-squareERROR: Earth.exe has crashed@lemmy.dbzer0.comlinkfedilinkEnglisharrow-up1·3 months agoIf "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.
minus-squarebandwidthcrisis@lemmy.worldlinkfedilinkarrow-up0·3 months agoWhat is this? Some sort of COBOL or something.
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.
What is this? Some sort of COBOL or something.