From 3c35c1d26852e18b73f0e7e3ae19c8bccebc9a62 Mon Sep 17 00:00:00 2001 From: hughbarney Date: Mon, 27 Sep 2021 23:03:59 +0100 Subject: [PATCH 1/4] Pastel: handle 12hr clock format, eg display 12:35 at noon intead of 00:35 --- apps/pastel/pastel.app.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/pastel/pastel.app.js b/apps/pastel/pastel.app.js index 0c1d56118..9f9efd171 100644 --- a/apps/pastel/pastel.app.js +++ b/apps/pastel/pastel.app.js @@ -73,7 +73,8 @@ function draw() { // fix hh for 12hr clock var h2 = "0" + parseInt(hh) % 12 || 12; - hh = h2.substr(h2.length -2); + if (parseInt(hh) > 12) + hh = h2.substr(h2.length -2); var w = g.getWidth(); var h = g.getHeight(); From 4a84cefa3f349a2d241a0da76d7d308bbc1eb9e0 Mon Sep 17 00:00:00 2001 From: hughbarney Date: Mon, 27 Sep 2021 23:23:57 +0100 Subject: [PATCH 2/4] updated descriptions of notify modules for clarity --- apps.json | 4 ++-- apps/notify/README.md | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/apps.json b/apps.json index 7a0fde795..d19365081 100644 --- a/apps.json +++ b/apps.json @@ -95,7 +95,7 @@ "shortName":"Notifications", "icon": "notify.png", "version":"0.10", - "description": "A handler for displaying notifications that displays them in a bar at the top of the screen", + "description": "Provides the default `notify` module used by applications to display notifications in a bar at the top of the screen. This module is installed by default by client applications such as the Gadgetbridge app. Installing `Fullscreen Notifications` replaces this module with a version that displays the notifications using the full screen", "tags": "widget", "type": "notify", "readme": "README.md", @@ -108,7 +108,7 @@ "shortName":"Notifications", "icon": "notify.png", "version":"0.11", - "description": "A handler for displaying notifications that displays them fullscreen. This may not fully restore the screen after on some apps. See `Notifications (default)` for more information about the notifications library.", + "description": "Provides a replacement for the `Notifications (default)` `notify` module that is used by applications to display notifications fullscreen. This may not fully restore the screen after on some apps. See `Notifications (default)` for more information about the notify module.", "tags": "widget,b2", "type": "notify", "storage": [ diff --git a/apps/notify/README.md b/apps/notify/README.md index f186aaab2..7b2473015 100644 --- a/apps/notify/README.md +++ b/apps/notify/README.md @@ -1,9 +1,8 @@ # Notifications (default) -A handler for displaying notifications that displays them in a bar at the top of the screen +The default version of the `notify` module for displaying notifications in a bar at the top of the screen -This is not an app, but instead it is a library that can be used by -other applications or widgets to display messages. +This module is installed by default by client applications such as Gadgetbridge. **Note:** There are other implementations of this library available such as `notifyfs` (Fullscreen Notifications). These can be used in the exact From 4c6d9908848a9d59b1bc0819cad5ba8bd46d4568 Mon Sep 17 00:00:00 2001 From: hughbarney Date: Tue, 28 Sep 2021 00:29:26 +0100 Subject: [PATCH 3/4] updated description of Notifications Fullscreen --- apps.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps.json b/apps.json index d19365081..fea2f6920 100644 --- a/apps.json +++ b/apps.json @@ -108,7 +108,7 @@ "shortName":"Notifications", "icon": "notify.png", "version":"0.11", - "description": "Provides a replacement for the `Notifications (default)` `notify` module that is used by applications to display notifications fullscreen. This may not fully restore the screen after on some apps. See `Notifications (default)` for more information about the notify module.", + "description": "Provides a replacement for the `Notifications (default)` `notify` module. This version is used by applications to display notifications fullscreen. This may not fully restore the screen after on some apps. See `Notifications (default)` for more information about the notify module.", "tags": "widget,b2", "type": "notify", "storage": [ From 760d89ca02070a7159f1405d5441f5589db4484f Mon Sep 17 00:00:00 2001 From: hughbarney Date: Tue, 28 Sep 2021 00:35:10 +0100 Subject: [PATCH 4/4] bumped version and Changelog for pastel 0.02 --- apps.json | 2 +- apps/pastel/ChangeLog | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/apps.json b/apps.json index fea2f6920..d67806a3f 100644 --- a/apps.json +++ b/apps.json @@ -3507,7 +3507,7 @@ "name": "Pastel Clock", "shortName": "Pastel", "icon": "pastel.png", - "version":"0.01", + "version":"0.02", "description": "A Configurable clock with custom fonts and background", "tags": "clock,b2", "type":"clock", diff --git a/apps/pastel/ChangeLog b/apps/pastel/ChangeLog index 7b83706bf..4b99fd7c1 100644 --- a/apps/pastel/ChangeLog +++ b/apps/pastel/ChangeLog @@ -1 +1,2 @@ 0.01: First release +0.02: Display 12 hour clock as 12:xx not 00:xx when just into PM