diff --git a/templates/rss2.tpl b/templates/rss2.tpl index f21e2e9..889ce2a 100644 --- a/templates/rss2.tpl +++ b/templates/rss2.tpl @@ -39,7 +39,8 @@ {$context->getData('supportEmail')|strip|escape:"html"}{if $context->getData('contactName')} ({$context->getData('supportName')|strip|escape:"html"}){/if} {/if} - {$latestDate|date_format:$smarty.const.DATE_RSS} + {capture assign="latestDate"}{$latestDate|strtotime}{/capture} + {$smarty.const.DATE_RSS|date:$latestDate} {* *} {* *} @@ -88,7 +89,8 @@ getData('accessStatus')) && $publication->isCCLicense()}rdf:resource="{$publication->getData('licenseUrl')|escape}"{/if} /> {url page=$publicationPage op=$publicationOp path=$publication->getData('urlPath')|default:$submission->getId()} - {$publication->getData('datePublished')|date_format:$smarty.const.DATE_RSS} + {capture assign="datePublished"}{$publication->getData('datePublished')|strtotime}{/capture} + {$smarty.const.DATE_RSS|date:$datePublished} {/foreach}{* articles *}