Time unification

This commit is contained in:
2026-06-17 15:06:38 -04:00
parent 069a44bd54
commit 54a2460eac
67 changed files with 1442 additions and 1329 deletions
+3
View File
@@ -15,5 +15,8 @@ export function createPool(envPrefix = 'DB', overrides = {}) {
max: overrides.max ?? 20,
idleTimeoutMillis: overrides.idleTimeoutMillis ?? 30_000,
connectionTimeoutMillis: overrides.connectionTimeoutMillis ?? 5_000,
// Pin the session timezone to business time (see docs/TIME.md) so date
// bucketing can't silently revert if the database default changes.
options: overrides.options ?? '-c TimeZone=America/Chicago',
});
}