diff --git a/templates/blockPublishedDate.tpl b/templates/blockPublishedDate.tpl index 04e864d..6cefe69 100644 --- a/templates/blockPublishedDate.tpl +++ b/templates/blockPublishedDate.tpl @@ -17,15 +17,15 @@
{capture assign=translatedDatePublished}{translate key="submissions.published"}{/capture} - {translate key="semicolon" label=$translatedDatePublished} - {$publication->getData('datePublished')|date_format} + {translate key="semicolon" label=$translatedDatePublished} + {$publication->getData('datePublished')|date_format:$dateFormatShort}
{* If this is an updated version *} {if $firstPublication->getID() !== $publication->getId()}
{capture assign=translatedUpdated}{translate key="common.updated"}{/capture} {translate key="semicolon" label=$translatedUpdated} - {$publication->getData('datePublished')|date_format:$dateFormatShort} + {$publication->getData('datePublished')|date_format:$dateFormatShort}
{/if} {* Versions *} @@ -48,4 +48,4 @@ {/if} -{/if} \ No newline at end of file +{/if}