Skip to content
Snippets Groups Projects
Commit 6344833f authored by Markus Klein's avatar Markus Klein Committed by Wouter Wolters
Browse files

[BUGFIX] Correctly parse timestamps in format.date VH

If the timestamp is retrieved from child nodes, the date format
ViewHelper has to ensure the timestamp is properly recognized.
As child nodes are always returning a string, the former check with
is_integer() would never return TRUE.
Therefore adapt this check to use the MathUtility method as this
guarantees a proper check.

Resolves: #62932
Releases: master, 6.2
Change-Id: I6968991bf97f99f82fc942d7d17678c9b473e796
Reviewed-on: http://review.typo3.org/34108


Reviewed-by: default avatarStefan Froemken <froemken@gmail.com>
Tested-by: default avatarStefan Froemken <froemken@gmail.com>
Reviewed-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
Tested-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
parent 466263d1
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment