2fefdaf36ab65a2a82b96deb76999aef7b04cccf
Prisma reads MySQL DATETIME as UTC Date objects. JSON.stringify calls Date.toJSON() which defaults to toISOString() — outputting UTC with Z suffix. Frontend then shows times shifted by -1 hour. Override Date.toJSON to format using local getters (getHours etc.) instead of getUTCHours. Combined with TZ=Europe/Prague, all API responses now contain Czech local times without Z suffix. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Description
No description provided