mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-05-21 14:32:34 +02:00
Merge branch 'master' into typo
This commit is contained in:
commit
5ea50fbd4d
1 changed files with 1 additions and 1 deletions
|
@ -736,7 +736,7 @@ class Database {
|
||||||
if (Database.dbConfig.type === "sqlite") {
|
if (Database.dbConfig.type === "sqlite") {
|
||||||
return "DATETIME('now', ? || ' hours')";
|
return "DATETIME('now', ? || ' hours')";
|
||||||
} else {
|
} else {
|
||||||
return "DATE_ADD(NOW(), INTERVAL ? HOUR)";
|
return "DATE_ADD(UTC_TIMESTAMP(), INTERVAL ? HOUR)";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue