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!
Registrar-seRelated Posts | Respostes | Vistes | Activitat | |
---|---|---|---|---|
|
2
de des. 19
|
5211 | ||
|
3
d’ag. 19
|
6815 | ||
|
3
de juny 25
|
842 | ||
|
1
de jul. 23
|
3523 | ||
|
2
de març 23
|
5003 |