Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2398 Vizualizări

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.

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
0
sept. 23
1800
0
sept. 23
1506
2
iun. 25
10903
6
oct. 23
21719
3
mar. 24
9192