Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2395 Tampilan

I have this code in a module downloaded from app store,

selected_day = datetime.datetime.strptime('2016-01-19 14:00:00', '%Y-%m-%d %H:%M:%S').strftime('%A')

when I execute the code from odoo, selected_day = 'martes', but if I execute the code from a simple python script selected_day = 'Tuesday', does this have anything to do with selected template language or any configuration for translated terms in odoo? 

thanks for all.

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
0
Sep 23
1790
0
Sep 23
1497
2
Jun 25
10898
6
Okt 23
21709
3
Mar 24
9188