- Investigated Chromium Android wildcard domain cookie behavior. - Researched Hono's `getCookie` first-match parsing behavior. - Added experimental Deno test scripts in `scratch/` for Hono cookie header parsing and pg timezone concepts. - Wrote full root-cause analysis and ranked architectural solutions in `scratch/INVESTIGATIVE_REPORT.md`. Co-authored-by: mrteye <1945243+mrteye@users.noreply.github.com>
5 lines
528 B
TypeScript
5 lines
528 B
TypeScript
import { Pool } from "https://deno.land/x/postgres@v0.17.0/mod.ts";
|
|
// Instead of real pg connection, let's just create a test that shows how NOW() works vs Date.now()
|
|
console.log("Postgres uses the database server's local timezone for NOW() unless explicitly AT TIME ZONE 'UTC' is used or the server runs in UTC.");
|
|
console.log("In containerized environments, the Deno container and Postgres container often both default to UTC, but if one differs, NOW() in Postgres could be hours ahead/behind Deno's generated expires_at.");
|