Skip to Content
मेन्यू
This question has been flagged
2396 Views

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
Discard
Related Posts Replies Views Activity
0
सित॰ 23
1797
0
सित॰ 23
1503
2
जून 25
10903
6
अक्तू॰ 23
21714
3
मार्च 24
9189