Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
7972 Vistas

Hi,

How is it possible to change timezone of my database?

Thanks a lot for your help.

Avatar
Descartar
Autor

Thanks a lot for your response Ray.

I want to use my datetime field in an email sent by an automation. So, in my template, I use  ${object.x_date_heure}. But my datetime field is shown with another value (UTC time?). How can I put the correct time (local time) in my email?

Mejor respuesta

A database does not have a timezone.  

Users interacting with a database have TimeZones.  All times are stored in UTC in a database.

See also https://www.odoo.com/forum/help-1/what-is-the-purpose-of-the-user-timezone-if-all-dates-displayed-in-odoo-are-based-on-system-time-106845

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
jul 25
1246
2
mar 25
1502
0
feb 25
1162
0
feb 25
1327
0
feb 25
1273