Now (might) actually work
parent
7ab9e342d5
commit
4ec1b02f25
|
|
@ -1 +1,2 @@
|
||||||
0.01: Please forgive me
|
0.01: Please forgive me
|
||||||
|
0.02: Now tells time!
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
var startOffsetX = 20;
|
var startOffsetX = 18;
|
||||||
var startOffsetHeight = 40;
|
var startOffsetHeight = 40;
|
||||||
|
|
||||||
var checkBarWidth = 10;
|
var checkBarWidth = 10;
|
||||||
|
|
@ -34,8 +34,6 @@ function renderWatch(l) {
|
||||||
var month = ("0" + (d.getMonth()+1)).slice(-2);
|
var month = ("0" + (d.getMonth()+1)).slice(-2);
|
||||||
var concatTime = ("0"+h).substr(-2) + ("0"+m).substr(-2) + month + 9;
|
var concatTime = ("0"+h).substr(-2) + ("0"+m).substr(-2) + month + 9;
|
||||||
|
|
||||||
concatTime = "20510398";
|
|
||||||
|
|
||||||
const chars = String(concatTime).split("").map((concatTime) => {
|
const chars = String(concatTime).split("").map((concatTime) => {
|
||||||
return Number(concatTime);
|
return Number(concatTime);
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
"name": "Barcode clock",
|
"name": "Barcode clock",
|
||||||
"shortName":"Barcode clock",
|
"shortName":"Barcode clock",
|
||||||
"icon": "barcode.icon.png",
|
"icon": "barcode.icon.png",
|
||||||
"version":"0.01",
|
"version":"0.02",
|
||||||
"description": "EAN-8 compatible barcode clock. Format (c: checksum): [HHmm] [MM9c]",
|
"description": "EAN-8 compatible barcode clock. Format (c: checksum): [HHmm] [MM9c]",
|
||||||
"tags": "barcode,ean,ean-8,watchface,clock,clockface",
|
"tags": "barcode,ean,ean-8,watchface,clock,clockface",
|
||||||
"type": "clock",
|
"type": "clock",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue