Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
5631 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
5268
3
aug. 19
6895
3
iun. 25
974
1
iul. 23
3677
2
mar. 23
5087