[TYPO3-project-formidable] Internationalize date format
Manuel Rego Casasnovas
mrego at igalia.com
Thu May 10 10:08:47 CEST 2007
Hello!
I'm using FORMidable and is a very good and powerful extension.
I want to internationalize date format for DATE renderlet, I think in
two posibilities, but these solutions don't work:
<renderlet:DATE name="birth_date">
<data>
<datetime>
<format>
<userobj>
<extension>this</extension>
<method>_getDateFormat</method>
</userobj>
</format>
</datetime>
</data>
</renderlet:DATE>
In my function _getDateFormat I could return the format according to the
user locale.
or
<renderlet:DATE name="birth_date">
<data>
<datetime>
<format>LLL:EXT:ux_my_extension/locallang.xml:ux_my_extension.birth_date.format</format>
</datetime>
</data>
</renderlet:DATE>
Here in my locallang.xml I could define the suitable format for each
language.
I tried to use formidabledatetime [1], but this doesn't work for the
current Ameos FORMidable version (0.7.0).
Somebody knows a way to do this?
Thanks,
Manuel Rego
[1]
http://typo3.org/extensions/repository/view/formidabledatetime/0.3.0/
---
http://www.igalia.com
More information about the TYPO3-project-formidable
mailing list