Using datetime.strftime, the system will always use the locale language.
How can I get month and weekday names in users language?
Thanks.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Using datetime.strftime, the system will always use the locale language.
How can I get month and weekday names in users language?
Thanks.
Hello,
for month:
span t-field="o.invoice_date" t-options='{"widget": "date", "format": "MMMM"}'
for weekday:
span t-field="o.invoice_date" t-options='{"widget": "date", "format": "EEEE"}'
أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!
تسجيلالمنشورات ذات الصلة | الردود | أدوات العرض | النشاط | |
---|---|---|---|---|
|
2
ديسمبر 19
|
5241 | ||
|
3
أغسطس 19
|
6853 | ||
|
3
يونيو 25
|
898 | ||
|
1
يوليو 23
|
3576 | ||
|
2
مارس 23
|
5031 |