[TYPO3-english] how to convert tstamp from db to human date

Piotr Burda pburda at typo3job.com
Mon Jul 8 12:27:21 CEST 2013


On 8 July 2013 11:50, François Suter <fsu-lists at cobweb.ch> wrote:

> Hi,
>
>  it does`n work, after applying your code nothing is filled in input field
>>
>
> I think the problem comes from the fact that dataWrap is called after
> date. One solution would be to use the nested stdWrap call, i.e. something
> like this (not tested):
>
> tmp.datetime = TEXT
> tmp.datetime.stdWrap.dataWrap =
>
> DB:tx_seminars_seminars:{GP:**tx_seminars_pi1|uid}:begin_**date
> tmp.datetime.stdWrap.wrap3 = {|}
> tmp.datetime.stdWrap.**insertData = 1
>
>
> termin = COA
> termin {
>      10 = TEXT
>      10 < tmp.datetime
>      10.date = d m Y
> }
>
> HTH
> It does not work :(
>
field is empty

> --
>
> Francois Suter
>
> Work: Cobweb Development Sarl - http://www.cobweb.ch
>
> TYPO3: Help the project! - http://typo3.org/contribute/
>
> Appreciate my work? Support me -
> http://www.monpetitcoin.com/**en/francois/support-me/<http://www.monpetitcoin.com/en/francois/support-me/>
>
>
> ______________________________**_________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-**bin/mailman/listinfo/typo3-**english<http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english>
>



-- 
Pozdrawiam / Regards
Piotr Burda
tel: +48 535 576 380
pburda at typo3job.com
www.typo3job.com

Pobierz wizytówkę <http://new.typo3job.com/pburda.vcf>


More information about the TYPO3-english mailing list