Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
7973 Widoki

Hi,

How is it possible to change timezone of my database?

Thanks a lot for your help.

Awatar
Odrzuć
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?

Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
lip 25
1248
2
mar 25
1504
0
lut 25
1162
0
lut 25
1327
0
lut 25
1273