Issue Bug Closed

#69335DateViewHelper treats date="now" incorrectly, if 'base' is not set

Viktor Livakivskyi 08/26/15, 16:41 updated 10/19/17, 21:52

Description

Hi,

I’ve upgraded TYPO3 from 7.3.1 to 7.4 and output of year in footer copyright became incorrect.

I’m doing it with such a VH call:

{f:format.date(date: 'now', format : 'Y')}

With 7.3.1 it outputs “2015“
With 7.4. – output always different and may be, e.g. “8034”

The problem in introduced ‘base’ parameter #68022

Now I’m forced to provide it:

{f:format.date(date: 'now', format : 'Y', base: 'now')}

Is it expected usage or it is an issue?

Reviews 1