Skip to content

Commit 12f7edd

Browse files
authored
Merge pull request #3882 from spycat111/master
Replace non-ASCII dashes in code & clarify patent/licensing terms for non-commercial use in README
2 parents 817e44a + 3f3a0e7 commit 12f7edd

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

apps/crsclock/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,8 @@ Unless otherwise stated, this project is released under the MIT license.
113113
Use of the patented method may be subject to licensing or permission.
114114
For inquiries, contact the author.
115115

116+
Note: The patented method does not require licensing for non-commercial, research, educational, or personal use within the open-source community. Commercial or broad distribution beyond these uses may require permission or licensing. For such use cases, please contact the author.
117+
116118
### **Summary**
117119

118120
The Circadian Rhythm Clock transforms the Bangle.js 2 into a **bio-aware, personalized circadian dashboard**, guiding users toward better alignment with their biological clock and modern life.

apps/crsclock/crsclock.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,7 @@ function calibrateBT() {
610610
Bangle.setUI(uiOpts);
611611
});
612612
})(d);
613-
m["" + d + "h"] = (() => () => {
613+
m["-" + d + "h"] = (() => () => {
614614
S.phaseOffset -= d;
615615
saveSettings();
616616
E.showAlert("Offset now: " + (S.phaseOffset>=0? "+"+S.phaseOffset : S.phaseOffset) + "h").then(() => {
@@ -711,7 +711,7 @@ function setBioTimeReference() {
711711
E.showMenu(m);
712712

713713
function promptRefTime() {
714-
E.showPrompt("Hour (023)?").then(h => {
714+
E.showPrompt("Hour (0-23)?").then(h => {
715715
if (h===undefined || h<0 || h>23) {
716716
E.showAlert("Invalid hour").then(() => {
717717
drawClock();
@@ -720,7 +720,7 @@ function setBioTimeReference() {
720720
return;
721721
}
722722
S.bioTimeRefHour = h;
723-
E.showPrompt("Minute (059)?").then(m => {
723+
E.showPrompt("Minute (0-59)?").then(m => {
724724
if (m===undefined || m<0 || m>59) {
725725
E.showAlert("Invalid minute").then(() => {
726726
drawClock();

0 commit comments

Comments
 (0)