[問題] Blogger的if/else tag

看板Blog (部落格)作者 (sebastien)時間18年前 (2008/03/03 23:34), 編輯推噓1(100)
留言1則, 1人參與, 最新討論串1/1
Blogger的if/else tag的條件要如何指定一個特定日期呢? 我想把從就網誌轉貼過來的留言的留言時間刪除不顯示 想試著用這tag限定成"若留言時間早於xxxx/xx/xx xx:xx,便不顯示留言時間" <b:if cond='data:comments.timestamp ????????????'> ....顯示留言時間+移除留言按鈕的code <b:else/> ....顯示移除留言按鈕的code </b:if> 上面問號的地方就不知如何寫了 寫成data:comments.timestamp < 2007/10/13也不正確= =... 找網頁說明似乎沒有有關年月日的代號@@? 是不是沒辦法這樣做呀? -- 《The words; the memory.》 ~ http://lamemoire0117.blogspot.com/ ~ -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 218.170.153.245

03/03 23:37, , 1F
因為if cond 代表「如果有」
03/03 23:37, 1F
文章代碼(AID): #17p1gTS3 (Blog)
文章代碼(AID): #17p1gTS3 (Blog)