[TYPO3-german] Datumsproblem bei tt_news
Manfred Hungerland
mobil at csb86.ch
Fri Jun 6 14:48:03 CEST 2008
Hallo Setfano
Du könntest z.B. in den Constants sowas definieren und dann hast Du von
der ganzem Seite darauf Zugriff:
constants.dateFormat = %d.%m.%Y
Im Setup dann:
# Convert the date format of news to WEC constant defined value
plugin.tt_news {
displaySingle.date_stdWrap.strftime = {$constants.dateFormat}
displayLatest.date_stdWrap.strftime = {$constants.dateFormat}
displayList.date_stdWrap.strftime = {$constants.dateFormat}
displaySingle.time_stdWrap.strftime = {$constants.timeFormat}
displayLatest.time_stdWrap.strftime = {$constants.timeFormat}
displayList.time_stdWrap.strftime = {$constants.timeFormat}
}
Shalom
Manfred
Stefano Kowalke schrieb:
> Moin,
>
> bei einer meiner Websites setze ich tt_news ein. Die Site ist unter anderem
> in rumänisch. Leider wird das Datum eines Artikels in englisch angezeigt.
>
> Auf dem Server sind die folgenden rumänischen Localen installiert:
> ro_RO
> ro_RO.iso88592
> ro_RO.utf8
> romanian
>
>
> Mit
>
> ###
> # Romania
> #
> [globalVar = GP:L=1]
> config {
> sys_language_uid = 1
> language = ro
> locale_all = ro_RO.utf8
> htmlTag_langKey = ro
> }
> [global]
>
> setze ich die Locale.
>
> Habe ich noch was übersehen? Cache habe ich auch gelöscht.
>
>
> Liebe Grüsse
> Stefano
>
> [1] http://www.dynamic-webpages.de/php/function.strftime.php
More information about the TYPO3-german
mailing list