> 18 + // The range of the analogue clock is 0-60 while the alarm hours
> should be between 00-23. Hence the factor 23/60
> 19 + alarmTime.setHours(Math.round(addAlarmFace.hours*23/60),
> Math.round(addAlarmFace.minutes), 0)
>
> Could it make sense to create a function hoursToCirclePosition() instead of
> copy pasting this all over the place?
>
> 18 + // The range of the analogue clock is 0-60 while the alarm hours setHours( Math.round( addAlarmFace. hours*23/ 60), addAlarmFace. minutes) , 0) sition( ) instead of
> should be between 00-23. Hence the factor 23/60
> 19 + alarmTime.
> Math.round(
>
> Could it make sense to create a function hoursToCirclePo
> copy pasting this all over the place?
>
Fixed in rev 300