mirror of
https://github.com/BetterCorp/BetterFrame.git
synced 2026-05-26 16:56:33 +00:00
PG driver returns TIMESTAMPTZ as JS Date objects. The s() and sn() mapper helpers only checked for typeof string, returning null/empty for Date objects. This broke consumed_at check in pairing (always null), expires_at comparisons (Invalid Date), and all other timestamp fields. Now: Date instances are converted to ISO strings via toISOString(). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| .gitignore | ||
| bsb-tests.json | ||
| package.json | ||
| tsconfig.json | ||