mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-02 00:32:15 +09:00
의도에 맞도록 getRegdateGM(), getUpdateGM() 개선
RSS Feed의 날짜 표시를 GMT+0으로 변경
This commit is contained in:
parent
d599f1e4e9
commit
1d8d685fc1
7 changed files with 29 additions and 29 deletions
|
|
@ -174,13 +174,13 @@ class rssView extends rss
|
|||
}
|
||||
|
||||
$info->id = $channel_url;
|
||||
$info->title = $obj->title ?: $info->title;
|
||||
$info->feed_title = $config->feed_title;
|
||||
$info->title = $obj->title ?: $info->title;
|
||||
$info->description = $obj->description ?: $info->description;
|
||||
$info->language = Context::getLangType();
|
||||
$info->site_url = Context::getRequestUri();
|
||||
$info->dateGM = Rhymix\Framework\DateTime::formatTimestampForCurrentUser('r');
|
||||
$info->dateDT = Rhymix\Framework\DateTime::formatTimestampForCurrentUser('c');
|
||||
$info->date_r = gmdate('r');
|
||||
$info->date_c = gmdate('c');
|
||||
$info->image = $config->image ? Context::getRequestUri() . $config->image : '';
|
||||
getController('module')->replaceDefinedLangCode($info->title);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue