Skip to content

Prisma Studio shows wrong timestampย #1437

@behanprw

Description

@behanprw

Hello,

I am using the latest Prisma version right now, and the latest PostgreSQL version as well.

The Prisma Studio should show UTC time by default normally, right?

For a specific model in my schema.prisma, I have the following

createdAt DateTime @default(now())

However, when displaying the user data for this model's field, the createdAt field's timestamp does not show UTC time, it shows 1 hour earlier than UTC.

I checked in terminal if perhaps my local postgres instance is drifting, but the answer was no, it shows correctly.

I suspect there is a bug with Prisma Studio itself, rather than Prisma or PostgreSQL.

Prisma team please fix this, thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions