Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
3134 Tampilan

Hello everybody, I created a cron for assign a datetime field:

                fech = str(fecha_actual)+" 17:30:00"
                fech = datetime.strptime(fech, '%Y-%m-%d %H:%M:%S')


But when I go to Odoo in the UI I see 19:30:00 and not 17:30:00.


What could be the problem? Thank You so much!

Avatar
Buang
Jawaban Terbai

it's because  server compute/store all the datetime field in UTC format and UI display it in your/browser timezone 

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
0
Jan 20
5353
8
Mei 23
61529
DateTime Python Diselesaikan
4
Feb 23
71863
0
Mar 21
6790
3
Jul 20
21172