Merge pull request #3882 from spycat111/master
Replace non-ASCII dashes in code & clarify patent/licensing terms for non-commercial use in READMEmaster
commit
12f7edd99c
|
|
@ -113,6 +113,8 @@ Unless otherwise stated, this project is released under the MIT license.
|
||||||
Use of the patented method may be subject to licensing or permission.
|
Use of the patented method may be subject to licensing or permission.
|
||||||
For inquiries, contact the author.
|
For inquiries, contact the author.
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
### **Summary**
|
### **Summary**
|
||||||
|
|
||||||
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.
|
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.
|
||||||
|
|
|
||||||
|
|
@ -610,7 +610,7 @@ function calibrateBT() {
|
||||||
Bangle.setUI(uiOpts);
|
Bangle.setUI(uiOpts);
|
||||||
});
|
});
|
||||||
})(d);
|
})(d);
|
||||||
m["−" + d + "h"] = (() => () => {
|
m["-" + d + "h"] = (() => () => {
|
||||||
S.phaseOffset -= d;
|
S.phaseOffset -= d;
|
||||||
saveSettings();
|
saveSettings();
|
||||||
E.showAlert("Offset now: " + (S.phaseOffset>=0? "+"+S.phaseOffset : S.phaseOffset) + "h").then(() => {
|
E.showAlert("Offset now: " + (S.phaseOffset>=0? "+"+S.phaseOffset : S.phaseOffset) + "h").then(() => {
|
||||||
|
|
@ -711,7 +711,7 @@ function setBioTimeReference() {
|
||||||
E.showMenu(m);
|
E.showMenu(m);
|
||||||
|
|
||||||
function promptRefTime() {
|
function promptRefTime() {
|
||||||
E.showPrompt("Hour (0–23)?").then(h => {
|
E.showPrompt("Hour (0-23)?").then(h => {
|
||||||
if (h===undefined || h<0 || h>23) {
|
if (h===undefined || h<0 || h>23) {
|
||||||
E.showAlert("Invalid hour").then(() => {
|
E.showAlert("Invalid hour").then(() => {
|
||||||
drawClock();
|
drawClock();
|
||||||
|
|
@ -720,7 +720,7 @@ function setBioTimeReference() {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
S.bioTimeRefHour = h;
|
S.bioTimeRefHour = h;
|
||||||
E.showPrompt("Minute (0–59)?").then(m => {
|
E.showPrompt("Minute (0-59)?").then(m => {
|
||||||
if (m===undefined || m<0 || m>59) {
|
if (m===undefined || m<0 || m>59) {
|
||||||
E.showAlert("Invalid minute").then(() => {
|
E.showAlert("Invalid minute").then(() => {
|
||||||
drawClock();
|
drawClock();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue