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?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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.
Odoo will use the system timezone, not the timezone on the user profile (as far as I know). See https://www.odoo.com/forum/help-1/question/what-is-the-purpose-of-the-user-timezone-if-all-dates-displayed-in-odoo-are-based-on-system-time-106845
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.
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
2
Jul 24
|
939 | ||
|
1
Jun 24
|
3560 | ||
|
1
Oct 23
|
8579 | ||
|
1
Oct 23
|
97 | ||
413 Request Entity Too Large
Solved
|
|
1
Aug 23
|
2192 |