1
0
Fork 0

Update app.js

master
Giles Booth 2022-08-19 17:43:53 +01:00 committed by GitHub
parent 7f5e87ad6d
commit 23f2a6dbdb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

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