Datetime issue: endpoint differs from content manager

Hello, for me, the default timezone database setting did not work even if I set it explicitly in the database connection config in config/database.ts with Strapi V4 and postgresDB

What works, at least for the most important part: storing date in database as UTC is:

TL;DR
Set an environment variable TZ=UTC in your .env file

However, the Strapi admin client is still showing me zoned dates frontend side even if the network response contains UTC dates.

1 Like