[TYPO3-mvc] Date examples, can't find any.

Nathan Lenz typo3 at k9tfk.com
Tue Jan 12 21:00:18 CET 2010


That view helper I just posted needs a bit of a change.

if ($value instanceof DateTime) {
	$stringValue = $value->format($this->getFormat());
} else {
	$stringValue = '';
}

When using the said view helper on a "new" form, it caused problems to
call "->format()" on a non-object.


More information about the TYPO3-project-typo3v4mvc mailing list