跳至內容
選單
此問題已被標幟
1 回覆
3312 瀏覽次數

How to write date with letters in qweb report odoo?

頭像
捨棄
最佳答案

Hi   rmc zeyneb,




DirectiveDescriptionExample
%aWeekday, short versionWed
%AWeekday, full versionWednesday
%wWeekday as a number 0-6, 0 is Sunday3
%dDay of month 01-3131
%bMonth name, short versionDec
%BMonth name, full versionDecember
%mMonth as a number 01-1212
%yYear, short version, without century18
%YYear, full version2018

o.to_date.strftime('%A , %d %B %Y')"/>



31/05/2022 ==> Tuesday , 31 May 2022


 

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
8月 22
4963
1
4月 25
3963
0
5月 22
3439
0
5月 22
3979
1
4月 25
1287