DateTime field in UpdateAt and Created at with def...
# orm-help
d
DateTime field in UpdateAt and Created at with default(now) is without timezone (Postgres). How can this be fixed?
r
@Dan Shapir 👋 Prisma by default stores the time in UTC which is recommended due to timezone values. You can use
timestamptz
native type if you would like to save the timezone.
d
@Ryan so Prisma will translate to UTC always? Meaning timestampz that basically does the same has not value?
r
Yes Prisma always translates to UTC.