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"}'
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
2
दिस॰ 19
|
5247 | ||
|
3
अग॰ 19
|
6868 | ||
|
3
जून 25
|
935 | ||
|
1
जुल॰ 23
|
3614 | ||
|
2
मार्च 23
|
5046 |