Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2662 Zobrazení

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
zář 23
2574
0
zář 23
2280
2
čvn 25
11863
6
říj 23
23001
3
bře 24
10210