Hello,
I think I found the problem
By using utf8-encode the date in utf-8 is encoded in a different way. So
the marker DATE is wrong, but the marker DATE_ICON is right, because it
is not changed.
if ($GLOBALS['TSFE']->tmpl->setup['config.']['renderCharset'] == 'utf-8') {
$marksItem['###DATE###'] = '<span class="date">'.
utf8_encode(strftime($this->conf['dateFormat'],$record['datetime'])).'</span>';
} else {
$marksItem['###DATE###'] = '<span
class="date">'.strftime($this->conf['dateFormat'],$record['datetime']).'</span>';
}
$marksItem['###DATE_ICON###'] = '<span
class="date_icon">'.strftime($this->conf['dateFormat'],$record['datetime']).'</span>';
The renderCharset setting in tx_extbase is triggering the fault. But why
is this if statement in the definition? There is no need to encode if it
is already encoded, or is there another issue?
Herbert
Am 15/11/2011 9:19 ጡዋት, schrieb Historia:
Hello,
I am working with slidernews and like the extension very much. I have a
two language site in English and Amharic. Not a language which is yet
supported in Typo3, but I manage. However the date in slidernews is not
in the right coding. Only in Style 6 the days are correct in Amharic. In
the menu the days are always coded wrong.
Typo3 4.5.5
t3s_jslidernews 2.2.0
I already tried version 2.2.1 which doesn't exchange the markers on my
system.
By the way. The Amharic weekdays seem to come out of the localization of
the webserver (Server: Apache/2.2.10 (Linux/SUSE) X-Powered-By:
PHP/5.2.13) because there are is no other localization on the system.
Thanks
_______________________________________________
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english