Re:Try quickly typing 1+ 2 + 3 into the iOS 11 Calculator
by npgatech on Tuesday October 24, 2017 @01:22AM
(#15539416)
If all inputs are in hh:mm format, then there is no ambiguity of 930 as 9:30 am/pm. There could be a toggle for AM/PM.
Who puts seconds as an input for setting their morning alarm? MAD!
Re:Try quickly typing 1+ 2 + 3 into the iOS 11 Calculator
by dogecoinbase on Tuesday October 24, 2017 @01:27AM
(#15539430)
What's the unambiguous setting of 73:45 in hh:mm format?
Re:Try quickly typing 1+ 2 + 3 into the iOS 11 Calculator
by KozmoNau7 on Tuesday October 24, 2017 @05:32AM
(#15540348)
3 days, 1 hour, 45 minutes. Simple.
The Android clock app silently corrects 73 minutes to 1 hour 13 minutes.
So for 1:13:45 (hh:mm:ss) you can input "7345" on the keypad and It. Just. Works.
Re:Try quickly typing 1+ 2 + 3 into the iOS 11 Calculator
by lobster_johnson on Tuesday October 24, 2017 @11:38AM
(#15542366)
But an alarm clock sets a relative point in time that happens every day. Putting "3 days" into a calendar is fine, but for an alarm clock it makes no sense.
Re:Try quickly typing 1+ 2 + 3 into the iOS 11 Calculator
by KozmoNau7 on Tuesday October 24, 2017 @01:48PM
(#15543543)
So you add basic input validation.
Re:Try quickly typing 1+ 2 + 3 into the iOS 11 Calculator
by lobster_johnson on Tuesday October 24, 2017 @01:55PM
(#15543637)
Yes, but the person who originally proposed this argued that there was no ambiguity.
Re:Try quickly typing 1+ 2 + 3 into the iOS 11 Calculator
by oneeyedpigeon on Tuesday October 24, 2017 @04:04AM
(#15539965)
Invalid input, just as the empty string or a single digit would be.
It also means the number will be in the correct format. your example, 930, could mean many things (930 seconds? 9:30am or 9:30 pm?)