Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
2563 Visninger

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
Kassér
Related Posts Besvarelser Visninger Aktivitet
0
sep. 23
2293
0
sep. 23
2005
2
jun. 25
11556
6
okt. 23
22568
3
mar. 24
9888