New big and small scope sunset and sunrise simulation
New calculations for the day tabs
Added missing icons to simple view
New record popups
Week ahead description popups
Camping profile
Tweak to some of the indoor tems
This commit is contained in:
fraxle
2026-10-08 09:53:41 +01:00
parent 71860b9dd9
commit 862f631beb
22 changed files with 2169 additions and 429 deletions
+6
View File
@@ -15,6 +15,12 @@ function db(): PDO {
PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION,
PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC,
PDO::ATTR_EMULATE_PREPARES => false,
// rowCount() on an UPDATE reports rows *matched*, not rows
// changed. journal-save.php leans on that to tell "not yours /
// no such row" apart from "saved, but nothing actually
// differed" - without it, re-saving an entry you didn't edit
// comes back as "Entry not found."
PDO::MYSQL_ATTR_FOUND_ROWS => true,
]
);
return $pdo;