의도에 맞도록 getRegdateGM(), getUpdateGM() 개선

RSS Feed의 날짜 표시를 GMT+0으로 변경
This commit is contained in:
conory 2017-09-06 23:38:42 +09:00
parent d599f1e4e9
commit 1d8d685fc1
7 changed files with 29 additions and 29 deletions

View file

@ -7,7 +7,7 @@
<link>{$info->link}</link>
<description>{$info->description}</description>
<language>{$info->language}</language>
<pubDate>{$info->dateGM}</pubDate>
<pubDate>{$info->date_r}</pubDate>
<totalCount>{$info->total_count}</totalCount>
<totalPage>{$info->total_page}</totalPage>
<item loop="$document_list=>$oDocument">
@ -22,8 +22,8 @@
<tags>{$oDocument->get('tags')}</tags>
<comment_count>{$oDocument->getCommentCount()}</comment_count>
<trackback_count>{$oDocument->getTrackbackCount()}</trackback_count>
<pubDate>{$oDocument->getRegdateGM()}</pubDate>
<upDate>{$oDocument->getUpdateGM()}</upDate>
<pubDate>{$oDocument->getRegdateGM('r')}</pubDate>
<upDate>{$oDocument->getUpdateGM('r')}</upDate>
</item>
</channel>
</rss>