1
0
Fork 0

Update app.js

master
Giles Booth 2022-08-22 20:39:09 +01:00 committed by GitHub
parent 233eeaf9d6
commit c950e931a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -5,9 +5,9 @@ let location;
// load tide times from settings file
var settings = Object.assign({
// default values
nextTideType: "high",
nextTideHour: 0,
nextTideMin: 0,
nextTideType: "high",
}, require('Storage').readJSON("suw.json", true) || {});
// assume next tide is 6h 12m later