[Typo3] Is it a Known Bug ?

Christopher bedlamhotel at gmail.com
Tue Oct 18 18:19:31 CEST 2005


Hi,

On 18/10/05, Courcy Michael <courcy.michael at wanadoo.fr> wrote:
> Hi list
>
> It's my third message on this question and it look like nobody knows so
> I wonder if it's a known bug
>
>  if I try to set a dynamic date value to a tt_content, nothing seems to
> work:
>
> TCAdefaults.tt_content.date = 1 ( make  1-1-1970 ????)
> TCAdefaults.tt_content.date = %d-%m-%y (doesn't work)
> TCAdefaults.tt_content.date = d (doesn't work)
> TCAdefaults.tt_content.date = %T (doesn't work)
> TCAdefaults.tt_content.date = {date:U} (doesn't work)
> TCAdefaults.tt_content.date.strftime = %d-%m-%y (doesn't work)
> TCAdefaults.tt_content.date = date:U (doesn't work)
> TCAdefaults.tt_content.date.data = date:U (doesn't work)
>
> And I get only thread on the mailing list with no answer on this question
>
> http://typo3.org/documentation/mailing-lists/english-main-list-archive/thread/110127180/
> http://216.239.59.104/search?q=cache:CFgaogGfabAJ:typo3.org/1422%2BM5d6365d21dc.0.html%3F%26tx_maillisttofaq_pi1%255Bpointer%255D%3D17+TCAdefaults.tt_content.date&hl=fr&client=firefox-a
>
> Maybe there's no feature for this ?
> Any hint would be very helpful.


I'm not sure that posting the same message repeatedly will generally
help you get your question answered... However, a quick look in the
manual leads me to believe that what you're trying is currently
impossible.

According to the TSconfig document [1], the data type of any
"TCAdefaults.[tablename].[field]" statement is "string" -- to me this
makes it sound as though no processing of the value is performed. I
guess you could confirm whether or not this is right by looking into
the db to see if some of your experimental values get saved 'as is' in
tt_content's date field.

-Christopher

[1] http://typo3.org/documentation/document-library/doc_core_tsconfig/Top_Level_Objects/



More information about the TYPO3-english mailing list