mirror of https://github.com/espruino/BangleApps
Add logic for 12 hr mode to handle midnight 00:00 as 12:00
parent
a385c09922
commit
9c7d2b09a5
|
@ -78,6 +78,9 @@ function draw(){
|
|||
} else {
|
||||
h = " " + h;
|
||||
}
|
||||
} else if (h === 0) {
|
||||
// display 12:00 instead of 00:00 for 12 hr mode
|
||||
h = "12";
|
||||
}
|
||||
|
||||
//draw separator
|
||||
|
|
Loading…
Reference in New Issue