Files
new-api-analytics/lib/queries.ts
shangzy 35b8fec96c fix: use toISOString for trend date serialization to prevent year 2001 bug
pg driver returns PostgreSQL date as JS Date object. String(date).slice(0,10)
produced "Mon Apr 07" instead of "2026-04-07", causing chart tooltips to
default to year 2001 when parsed by new Date().
2026-04-07 15:50:30 +08:00

16 KiB