Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
4144 Visualizzazioni

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?

Avatar
Abbandona
Risposta migliore

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

Avatar
Abbandona
Autore

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.

Risposta migliore

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.

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
2
lug 24
2751
1
giu 24
5203
1
ott 23
10935
1
ott 23
98
1
ago 23
2194