Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
5939 Vizualizări

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

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

Thanks.

Imagine profil
Abandonează
Cel mai bun răspuns

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"}'
Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
2
dec. 19
5533
3
aug. 19
7385
3
iun. 25
1446
1
iul. 23
4244
2
mar. 23
5531