Comment on LS Swap by cTn

mehcore's avatar
Why so averse to a 12 hour version? Only three (or one minimally) lines of code extra are required...

if (minutes == 60) {
minutes = 0;

hours = hours + 1;

if (hours => 13) {
hours - 12;
}

if (hours == 24) {
hours = 0;
}
}