Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
2664 Ansichten

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
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
0
Sept. 23
2579
0
Sept. 23
2289
2
Juni 25
11877
6
Okt. 23
23008
3
März 24
10211