reverted to clkinfostopw 0.1 to avoid clash with widbatc PR
parent
e5c6707e15
commit
7ec885008d
|
|
@ -1,2 +1 @@
|
||||||
0.01: New clkinfo!
|
0.01: New clkinfo!
|
||||||
0.02: changed format to h:mm:ss, to reduce size of text string
|
|
||||||
|
|
|
||||||
|
|
@ -21,10 +21,10 @@
|
||||||
var mins = seconds / 60;
|
var mins = seconds / 60;
|
||||||
seconds %= 60;
|
seconds %= 60;
|
||||||
if (mins < 60)
|
if (mins < 60)
|
||||||
return "".concat(mins.toFixed(0)+":").concat(pad2(seconds));
|
return "".concat(pad2(mins), "m").concat(pad2(seconds), "s");
|
||||||
var hours = mins / 60;
|
var hours = mins / 60;
|
||||||
mins %= 60;
|
mins %= 60;
|
||||||
return "".concat(hours.toFixed(0)+":").concat(pad2(mins)).concat(pad2(seconds));
|
return "".concat(Math.round(hours), "h").concat(pad2(mins), "m").concat(pad2(seconds), "s");
|
||||||
};
|
};
|
||||||
var img = function () { return atob("GBiBAAAAAAB+AAB+AAAAAAB+AAH/sAOB8AcA4A4YcAwYMBgYGBgYGBg8GBg8GBgYGBgAGAwAMA4AcAcA4AOBwAH/gAB+AAAAAAAAAA=="); };
|
var img = function () { return atob("GBiBAAAAAAB+AAB+AAAAAAB+AAH/sAOB8AcA4A4YcAwYMBgYGBgYGBg8GBg8GBgYGBgAGAwAMA4AcAcA4AOBwAH/gAB+AAAAAAAAAA=="); };
|
||||||
return {
|
return {
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"id": "clkinfostopw",
|
"id": "clkinfostopw",
|
||||||
"name": "Stop Watch Clockinfo",
|
"name": "Stop Watch Clockinfo",
|
||||||
"version":"0.02",
|
"version":"0.01",
|
||||||
"description": "A simple stopwatch, shown via clockinfo",
|
"description": "A simple stopwatch, shown via clockinfo",
|
||||||
"icon": "app.png",
|
"icon": "app.png",
|
||||||
"type": "clkinfo",
|
"type": "clkinfo",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue