Skip to Content
मेन्यू
This question has been flagged
1 Reply
5945 Views

Using datetime.strftime, the system will always use the locale language.

How can I get month and weekday names in users language?

Thanks.

Avatar
Discard
Best Answer

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"}'
Avatar
Discard
Related Posts Replies Views Activity
2
दिस॰ 19
5533
3
अग॰ 19
7385
3
जून 25
1446
1
जुल॰ 23
4244
2
मार्च 23
5531