[TYPO3-core] RFC: Bug #4515: Date fields displayed wrong in TCEforms

Dmitry Dulepov dmitry at typo3.org
Wed Nov 15 10:05:35 CET 2006


Hi!

Ernesto Baschny [cron IT] wrote:
> I just don't agree with that part:
> -                                               $value =
> date($option,$itemValue);
> +                                               $value =
> date('d-m-Y',$itemValue);
> 
> Why are you not using $option anymore? I don't know where this
> $config['format.']['option'] comes from, is it documented somewhere? Can
> this be set through TCA? How?

By the way, typo3 has a configuration setting for date format. That one 
should be used (for consistency).

-- 
Dmitry Dulepov

Web: http://typo3bloke.net/
Skype: callto:liels_bugs

"It is our choices, that show what we truly are,
far more than our abilities." (A.P.W.B.D.)



More information about the TYPO3-team-core mailing list