コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
5930 ビュー

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"}'
アバター
破棄
関連投稿 返信 ビュー 活動
2
12月 19
5533
3
8月 19
7385
3
6月 25
1446
1
7月 23
4244
2
3月 23
5531