Spaces:
Sleeping
Sleeping
Update static/DropboxWorker.js
Browse files- static/DropboxWorker.js +1 -1
static/DropboxWorker.js
CHANGED
|
@@ -30,7 +30,7 @@ this.now = new Date();
|
|
| 30 |
this.hours = this.now.getHours();
|
| 31 |
this.minutes = this.now.getMinutes();
|
| 32 |
|
| 33 |
-
var millisTill10 = new Date(this.now.getFullYear(), this.now.getMonth(), this.now.getDate(),
|
| 34 |
console.log(this.now)
|
| 35 |
if (millisTill10 < 0) {
|
| 36 |
millisTill10 += 43200000; // try every 12 hours
|
|
|
|
| 30 |
this.hours = this.now.getHours();
|
| 31 |
this.minutes = this.now.getMinutes();
|
| 32 |
|
| 33 |
+
var millisTill10 = new Date(this.now.getFullYear(), this.now.getMonth(), this.now.getDate(), 12, 26, 0, 0) - this.now;
|
| 34 |
console.log(this.now)
|
| 35 |
if (millisTill10 < 0) {
|
| 36 |
millisTill10 += 43200000; // try every 12 hours
|