problem-specifications icon indicating copy to clipboard operation
problem-specifications copied to clipboard

Improve clock description

Open behrtam opened this issue 8 years ago • 1 comments

What is a valid input? 20 s? 3:20 pm? half past noon? Once we have the input, we need to be able to "add and subtract minutes to it". What are we supposed to return? 1 m 20 s? 3:21 pm? half past noon and one minute?

Maybe this (https://github.com/exercism/xpython/issues/401) is better handled here.

behrtam avatar Jan 02 '17 09:01 behrtam

Admittedly, the current description is fairly succinct.

# Description

Implement a clock that handles times without dates.

You should be able to add and subtract minutes to it.

Two clocks that represent the same time should be equal to each other.

We should probably explicitly mention that a clock has an hour and minute component. The instructions should also mention what happens with "overflows".

ErikSchierboom avatar Jan 26 '22 13:01 ErikSchierboom