diff --git a/modules/rss/rss.view.php b/modules/rss/rss.view.php index dd1a1080c..18599d652 100644 --- a/modules/rss/rss.view.php +++ b/modules/rss/rss.view.php @@ -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); diff --git a/modules/rss/tpl/format/atom10.html b/modules/rss/tpl/format/atom10.html index ac692996b..71109c9d4 100644 --- a/modules/rss/tpl/format/atom10.html +++ b/modules/rss/tpl/format/atom10.html @@ -15,8 +15,8 @@ {$oDocument->getPermanentUrl()} - {$oDocument->getRegdateGM('c')} - {$oDocument->getUpdateGM('c')} + {date('c', ztime($oDocument->get('regdate')))} + {date('c', ztime($oDocument->get('last_update')))} {$oDocument->getNickName()} diff --git a/modules/rss/tpl/format/rss10.html b/modules/rss/tpl/format/rss10.html index a354560d4..e2958947d 100644 --- a/modules/rss/tpl/format/rss10.html +++ b/modules/rss/tpl/format/rss10.html @@ -30,6 +30,6 @@ {$oDocument->getPermanentUrl()} {$oDocument->getSummary(400)|escape} {$oDocument->getNickName()} - {$oDocument->getRegdateGM('c')} + {date('c', ztime($oDocument->get('regdate')))} diff --git a/modules/rss/tpl/format/rss20.html b/modules/rss/tpl/format/rss20.html index ae9eb820a..084d9bd71 100644 --- a/modules/rss/tpl/format/rss20.html +++ b/modules/rss/tpl/format/rss20.html @@ -30,7 +30,7 @@ {$oDocument->getNickName()} {$oDocument->getPermanentUrl()} {$oDocument->getPermanentUrl()}#comment - {$oDocument->getRegdateGM('r')} + {date('r', ztime($oDocument->get('regdate')))} diff --git a/modules/rss/tpl/format/xe.html b/modules/rss/tpl/format/xe.html index c773248eb..bdb8b485f 100644 --- a/modules/rss/tpl/format/xe.html +++ b/modules/rss/tpl/format/xe.html @@ -22,8 +22,8 @@ {$oDocument->get('tags')} {$oDocument->getCommentCount()} {$oDocument->getTrackbackCount()} - {$oDocument->getRegdateGM('r')} - {$oDocument->getUpdateGM('r')} + {date('r', ztime($oDocument->get('regdate')))} + {date('r', ztime($oDocument->get('last_update')))}