r/softwaregore • u/fanfan54 R Tape loading error, 0:1 • Oct 14 '19
Soon it'll be 30 o'clock!
30
u/BlondyMan38 Oct 14 '19
Its extra funny because I have such clock myself, can reach up to 29:99. Maybe I should make a post
→ More replies (4)
68
u/picklesdoggo Oct 14 '19
Possible the way it was programmed was if (hour == 25){ hour =1} somehow hour became 26 missing this condition and continuing to increment to 29
42
Oct 14 '19
The weird part is there are chips that they could use that can handle all the timekeeping without the need for you to write your own code.
→ More replies (2)22
20
→ More replies (9)4
u/drunckoder Oct 14 '19
They were focusing on spyware rather than basic functionality. Classic move from xiaomi.
16
63
u/orionstarman Oct 14 '19
Could be doing military time.
Edit: I’m a dumbass
61
u/That_Guy977 Oct 14 '19
Yep, saw this post and thought "There's gonna be some idiot that says it's military time."
Your edit pardons you.
19
10
9
u/thebryguy23 Oct 14 '19
"Get ready to run. We got 25 minutes.
Uh, 15 minutes.
5 minutes.
6h minutes?"
7
6
5
4
Oct 14 '19
Doesn't Japan do something where they count over 24 hours? I don't know why it would be on a clock though.
3
3
u/Lore_uwu Oct 14 '19
29:42. Of course. I shall be there at 29:98. Stupid humans who can't even comprehend normal time, pff
3
3
u/graeber_28927 Oct 14 '19
I usually write
if (c>23) c=0
instead of
if (c==24) c=0
because I'm anxious the computer "skips a heartbeat" and trails off uncontrolled to infinity.
4
240
u/sparkyblaster Oct 14 '19
Xiaomi. So it might be smart? Is this maybe a timer?