[TYPO3-project-formidable] Internationalize date format
Manuel Rego Casasnovas
mrego at igalia.com
Thu May 10 11:43:23 CEST 2007
Hello Jerome!
Thank you very much, I'm very happy with this new feature, this works
good.
Best regards,
Manuel Rego
---
http://www.igalia.com
El jue, 10-05-2007 a las 11:50 +0300, Jerome Schneider escribió:
> Hi Manuel
>
> Actually it's not a bug, it's a missing feature :D
>
> I implemented userobj execution on datetime/format now so that your
> first solution can work
>
> You have to replace the file
>
> EXT:ameos_formidable/api/base/rdt_date/api/class.tx_rdtdate.php
>
> by the one included in this message as an attached file
>
>
> If your newsreader cannot acced attached files, here's where you can get
> it online:
>
> http://www.ameos.com/fileadmin/formidable/patches/070-userobj-dateformat-class.tx_rdtdate.zip
>
>
> I'll include these modifications also in the SVN so that it'll be
> included in future releases of formidable.
>
>
> Hope this will do the job :)
>
> Regards,
> Jerome Schneider
>
>
>
>
> Manuel Rego Casasnovas a écrit :
> > 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
>
> _______________________________________________
> TYPO3-project-formidable mailing list
> TYPO3-project-formidable at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-formidable
More information about the TYPO3-project-formidable
mailing list