{namespace n=Tx_News_ViewHelpers} | |
{namespace stubr=STUBR\Customvhs\ViewHelpers} | |
<time class="event-date" datetime="<n:format.date format="{f:translate(key:'dateTimeFormatMachine')}">{newsItem.datetime}</n:format.date>"> | |
<f:if condition="{settings.forcelocale}==true"> | |
<stubr:switchlocale new="de_CH.UTF-8" /> | |
</f:if> | |
<n:format.date format="{f:translate(key:'dateTimeFormatHumanWeekday')}">{newsItem.datetime}</n:format.date> | |
<f:if condition="{settings.forcelocale}==true"> | |
<stubr:switchlocale new="fr_CH.UTF-8" /> | |
</f:if> | |
</time> | |
<p class="sidebar-content"> | |
<n:link newsItem="{newsItem}" settings="{settings}" title="{newsItem.txNewscustomLinktitle}" >{newsItem.title}</n:link> | |
</p> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This comment has been minimized.
Catches a TS setting and forces another locale quickly