Fix #1158 use internal timezone in RSS output

This commit is contained in:
Kijin Sung 2019-03-06 00:05:54 +09:00
parent b72c5edcec
commit 329ec0cfd4
5 changed files with 8 additions and 8 deletions

View file

@ -179,8 +179,8 @@ class rssView extends rss
$info->description = $obj->description ?: $info->description;
$info->language = Context::getLangType();
$info->site_url = Context::getRequestUri();
$info->date_r = gmdate('r');
$info->date_c = gmdate('c');
$info->date_r = date('r');
$info->date_c = date('c');
$info->image = $config->image ? Context::getRequestUri() . $config->image : '';
getController('module')->replaceDefinedLangCode($info->title);