Skip to Content
मेन्यू
This question has been flagged
1 Reply
5607 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
5247
3
अग॰ 19
6868
3
जून 25
935
1
जुल॰ 23
3614
2
मार्च 23
5046