[BUGFIX] BackendUtility::dateTimeAge must return correct values 64/47364/5
authorGeorg Ringer <georg.ringer@gmail.com>
Wed, 23 Mar 2016 05:08:56 +0000 (06:08 +0100)
committerMorton Jonuschat <m.jonuschat@mojocode.de>
Wed, 23 Mar 2016 08:18:12 +0000 (09:18 +0100)
commit5c46ba68ad79034a5daf678b4a41a5882dcbaf60
tree6bb8590b9cf99587bb074e5d4b151f630f61a32d
parent39ea0edd045815c7787561ab33b577ee5fc7d053
[BUGFIX] BackendUtility::dateTimeAge must return correct values

If the 3rd parameter is set to 'date', the age must be returned as
date without any time information.

Resolves: #75235
Releases: master, 7.6
Change-Id: I7ebf76dc635f7dbca42c6486c585eb140832e6c4
Reviewed-on: https://review.typo3.org/47364
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
typo3/sysext/backend/Classes/Utility/BackendUtility.php
typo3/sysext/backend/Tests/Unit/Utility/BackendUtilityTest.php