Skip to Content
Menú
This question has been flagged
2681 Vistes

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
Descartar
Related Posts Respostes Vistes Activitat
0
de set. 23
2595
0
de set. 23
2299
2
de juny 25
11893
6
d’oct. 23
23032
3
de març 24
10225