[TYPO3-german] Fluid View Helper format.date

Johannes C. Laxander jc at laxander.com
Sat Feb 27 23:06:29 CET 2016


Hallo Nicole, auch noch bei der Arbeit ;)

Dein Tipp es mit @{newsItem.eventDate} zu versuchen war goldrichtig! :)
Jetzt wird das Datum angezeigt. Was aber macht '@' hierbei? Ich hab das
bisher auch noch nirgends gesehen, und mir ist es auch noch nicht in der
Doku begegnet.

Und du hast auch recht, für das Formatierungsproblem hat es nichts gebracht,
"März" wird immer noch nicht  mit "ä" geschrieben. 
locale -a listet auch "de_DE.utf8" auf (ohne Bindestrich ), das habe ich
geprüft.

Gruß, Johannes.

> -----Ursprüngliche Nachricht-----
> Von: typo3-german-bounces at lists.typo3.org [mailto:typo3-german-
> bounces at lists.typo3.org] Im Auftrag von Nicole Cordes
> Gesendet: Samstag, 27. Februar 2016 21:49
> An: typo3-german at lists.typo3.org
> Betreff: Re: [TYPO3-german] Fluid View Helper format.date
> 
> Hallo Johannes,
> 
> Am 27.02.2016 um 20:29 schrieb Johannes C. Laxander:
> >
> > Das Problem tritt unter  TYPO3 7.6.4 und News 4.1.0 auf.
>  >
> > n:format.date gibt aber kein Datum aus, auch nicht bei strftime=0.
> 
> News erwartet hier keinen Timestamp, sondern eigentlich ein DateTime
> Objekt, bzw. eine Datum, wenn ich das richtig sehe.
> Versuch mal
> 
> ´´´´
> <n:format.date strftime="1" format="%A, %d. %B
> %Y">@{newsItem.eventDate}</n:format.date>
> ´´´´
> 
> Vermutlich bringt dir das aber bei deinem Formatierungsproblem nichts.
> 
> Kannst du auf dem Server mal schauen, ob eine deutsche utf-8 locale
> vorhanden ist?
> 
> ````
> locale -a
> ````
> 
> 
> Best regards,
> Nicole



More information about the TYPO3-german mailing list