跳至內容
選單
此問題已被標幟
1 回覆
7996 瀏覽次數

Hi,

How is it possible to change timezone of my database?

Thanks a lot for your help.

頭像
捨棄
作者

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?

最佳答案

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
7月 25
1257
2
3月 25
1511
0
2月 25
1163
0
2月 25
1333
0
2月 25
1280