[TYPO3-core] RFC: #12652: Value Preview of empty timestamp shows "01-01-70 (-40 yrs) "

Steffen Kamper info at sk-typo3.de
Wed Nov 18 13:58:05 CET 2009


Hi,

Oliver Klee schrieb:
> Hi,
> 
> +1 by reading with two nitpicks:
> 
> 1. For better readability, please put the expression in parenthesis:
> ($value == 0)
>
ok

> 2. (optional) I'd prefer to have the positive ("normal") case first:
> 
> = ($value != 0) ? t3lib_BEfunc::date($value) : '' .
> 

in this case i did it other way because first expression is the short 
and second the multiline

vg Steffen


More information about the TYPO3-team-core mailing list