Fix: Use ISO 8601 format (T separator) for timestamps to ensure proper timezone conversion

This commit is contained in:
nmemmert committed 2025-12-15 15:03:25 -05:00
1 parent fc7bf6976e
commit ccae38bb4d
2 files changed
+6 -6

No files matched your search

+2 -2
View File
@@ -264,8 +264,8 @@ class MonitorService {
saveCheck(check) {
const stmt = db.prepare(`
INSERT INTO checks (resource_id, status, response_time, status_code, error_message, details)
VALUES (?, ?, ?, ?, ?, ?)
INSERT INTO checks (resource_id, status, response_time, status_code, error_message, details, checked_at)
VALUES (?, ?, ?, ?, ?, ?, datetime('now'))
`);
stmt.run(
check.resource_id,