mirror of https://github.com/espruino/BangleApps
Stopwatch Touch: update short name
parent
572dac6889
commit
8d439968ba
|
@ -3615,7 +3615,7 @@
|
||||||
},
|
},
|
||||||
{ "id": "stopwatch",
|
{ "id": "stopwatch",
|
||||||
"name": "Stopwatch Touch",
|
"name": "Stopwatch Touch",
|
||||||
"shortName":"Stopwatch",
|
"shortName":"Stopwatch Touch",
|
||||||
"icon": "stopwatch.png",
|
"icon": "stopwatch.png",
|
||||||
"version":"0.01",
|
"version":"0.01",
|
||||||
"description": "A touch controlled stopwatch for Bangle 2",
|
"description": "A touch controlled stopwatch for Bangle 2",
|
||||||
|
|
|
@ -30,7 +30,7 @@ function timeToText(t) {
|
||||||
if (hrs === 0)
|
if (hrs === 0)
|
||||||
text = ("0"+mins).substr(-2) + ":" + ("0"+secs).substr(-2) + "." + tnth;
|
text = ("0"+mins).substr(-2) + ":" + ("0"+secs).substr(-2) + "." + tnth;
|
||||||
else
|
else
|
||||||
text = (""+hrs) + ":" + ("0"+mins).substr(-2) + ":" + ("0"+secs).substr(-2) + "." + tnth;
|
text = ("0"+hrs) + ":" + ("0"+mins).substr(-2) + ":" + ("0"+secs).substr(-2);
|
||||||
|
|
||||||
//log_debug(text);
|
//log_debug(text);
|
||||||
return text;
|
return text;
|
||||||
|
|
Loading…
Reference in New Issue