تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2418 أدوات العرض

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.

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
سبتمبر 23
1843
0
سبتمبر 23
1537
2
يونيو 25
10947
6
أكتوبر 23
21794
3
مارس 24
9250