تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
4135 أدوات العرض

Hey Mates,

Anyone has any idea how odoo calculate the time values for different time zones. is it used browser time zone to display time or timezone setting values on user profile?

الصورة الرمزية
إهمال
أفضل إجابة

Hi,

Date time is stored in UTC in the database and it is converted into users timezone based on the timezone set in user profile,see : Why Datetime is Different In Database and in User Interface Odoo

Thanks

الصورة الرمزية
إهمال
الكاتب

Yep. but I want's to know it will differ based on browser timezone also. think user live in India and his timezone setting not setting to any timezone setting. so whats happen then.

أفضل إجابة

Hi Rishan,

 I think,  you can store user time on database ( odoo will convert this time to UTC time zone before store it on DB ) after that, you can compare these times on and show it with user time zone.

pls try and feedback if ok.

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
2
يوليو 24
2746
1
يونيو 24
5199
1
أكتوبر 23
10930
1
أكتوبر 23
98
1
أغسطس 23
2194