Skip to content

Commit 25c9ece

Browse files
author
thyttan
committed
Merge remote-tracking branch 'WhelanB/clkshortcuts' into app-loader
2 parents bab86e5 + e21979b commit 25c9ece

File tree

78 files changed

+557
-123
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+557
-123
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,8 @@ and which gives information about the app for the Launcher.
270270
// 'notify' - provides 'notify' library for showing notifications
271271
// 'locale' - provides 'locale' library for language-specific date/distance/etc
272272
// (a version of 'locale' is included in the firmware)
273-
"tags": "", // comma separated tag list for searching
273+
// 'defaultconfig' - a set of apps that will can be installed and will wipe out all previously installed apps
274+
"tags": "", // comma separated tag list for searching (don't include uppercase or spaces)
274275
// common types are:
275276
// 'clock' - it's a clock
276277
// 'widget' - it is (or provides) a widget

apps/UI4swatch/metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"version": "0.02",
66
"description": "A UI/UX for espruino smartwatches, displays dinamically calc. x,y coordinates.",
77
"icon": "app.png",
8-
"tags": "Color,input,buttons,touch,UI",
8+
"tags": "color,input,buttons,touch,ui",
99
"supports": ["BANGLEJS"],
1010
"readme": "README.md",
1111
"screenshots": [{"url":"UI4swatch_icon.png"},{"url":"UI4swatch_s1.png"}],

apps/Uke/metadata.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
"version": "0.04",
55
"description": "Wrist mounted ukulele chords",
66
"icon": "app.png",
7-
"tags": "uke, chords",
8-
"supports" : ["BANGLEJS2"],
7+
"tags": "uke,chords",
8+
"supports" : ["BANGLEJS2"],
99
"readme": "README.md",
1010
"storage": [
1111
{"name":"Uke.app.js","url":"app.js"},

apps/bblobface/metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"description": "A fully featured watch face with a playable game on the side.",
77
"readme":"README.md",
88
"type": "clock",
9-
"tags": "clock, game",
9+
"tags": "clock,game",
1010
"supports" : ["BANGLEJS2"],
1111
"storage": [
1212
{"name":"bblobface.app.js","url":"app.js"},

apps/beeptest/metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"version": "0.01",
66
"description": "Aerobic fitness test created by Léger & Lambert",
77
"icon": "beeptest.png",
8-
"tags": "Health",
8+
"tags": "health",
99
"supports": ["BANGLEJS2"],
1010
"readme": "README.md",
1111
"storage": [

apps/bordle/metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"description": "Bangle version of a popular word search game",
77
"supports" : ["BANGLEJS2"],
88
"readme": "README.md",
9-
"tags": "game, text",
9+
"tags": "game,text",
1010
"storage": [
1111
{"name":"bordle.app.js","url":"bordle.app.js"},
1212
{"name":"wordlencr.txt","url":"wordlencr.txt"},

apps/bwclk/ChangeLog

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,5 @@ clkinfo.addInteractive that would cause ReferenceError.
3232
0.30: Use widget_utils
3333
0.31: Use clock_info module as an app
3434
0.32: Make the border of the clock_info box extend all the way to the right of the screen.
35-
0.33: Fix issue rendering ClockInfos with for fg+bg color set to the same (#2749)
35+
0.33: Fix issue rendering ClockInfos with for fg+bg color set to the same (#2749)
36+
0.34: Support 12-hour time format

apps/bwclk/app.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -239,11 +239,9 @@ let drawTime = function() {
239239
var y = y1;
240240
var date = new Date();
241241

242-
var hours = String(date.getHours());
243-
var minutes = date.getMinutes();
244-
minutes = minutes < 10 ? String("0") + minutes : minutes;
245-
var colon = settings.hideColon ? "" : ":";
246-
var timeStr = hours + colon + minutes;
242+
var timeStr = locale.time(date, 1);
243+
if (settings.hideColon)
244+
timeStr = timeStr.replace(":", "");
247245

248246
// Set y coordinates correctly
249247
y += parseInt((H - y)/2) + 5;

apps/bwclk/metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"id": "bwclk",
33
"name": "BW Clock",
4-
"version": "0.33",
4+
"version": "0.34",
55
"description": "A very minimalistic clock.",
66
"readme": "README.md",
77
"icon": "app.png",

apps/bwclklite/ChangeLog

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,5 @@ clkinfo.addInteractive that would cause ReferenceError.
3535
Remove invertion of theme as this doesn'twork very well with fastloading.
3636
Do an quick inital fillRect on theclock info area.
3737
0.33: Make the border of the clock_info box extend all the way to the right of the screen.
38-
0.34: Fix issue rendering ClockInfos with for fg+bg color set to the same (#2749)
38+
0.34: Fix issue rendering ClockInfos with for fg+bg color set to the same (#2749)
39+
0.35: Support 12-hour time format

0 commit comments

Comments
 (0)