[Typo3] TCA tt_content starttime/endtime with TSConfig

Yomo Guiamo yguiamo at gmail.com
Wed Jun 15 12:11:41 CEST 2005


Hi,

I'm trying to set a default starttime and endtime value for all (new) 
content elements (made via the Page Module).

I've tried the following, but only 'hardcoded' UNIX times seem to work.

(In the UserTSConfig)
TCAdefaults.tt_content.starttime = 955144722 (produces: 10-1-1973)

However, if I try to set a dynamic datetime value, nothing seems to work:
TCAdefaults.tt_content.starttime = %d-%m-%y (doesn't work)
TCAdefaults.tt_content.starttime = d (doesn't work)
TCAdefaults.tt_content.starttime = %T (doesn't work)
TCAdefaults.tt_content.starttime = {date:U} (doesn't work)
TCAdefaults.tt_content.starttime.strftime = %d-%m-%y (doesn't work)
TCAdefaults.tt_content.starttime = date:U (doesn't work)

Any help is appreciated!

Thank you,
Yomo Guiamo



More information about the TYPO3-english mailing list