Skip to Content
Menu
This question has been flagged
2559 Rodiniai

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.

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
0
rugs. 23
2284
0
rugs. 23
1997
2
birž. 25
11544
6
spal. 23
22555
3
kov. 24
9875