[BUGFIX] Return timestamp as integer in DateTimeAspect
The DateTimeAspect which supersedes the superglobals like $GLOBALS['EXEC_TIME'] now properly returns the timestamp as integer. Resolves: #92736 Releases: master Change-Id: Ib16cc1131024bdc208526a57332bec80817e75c3 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/66357 Tested-by:Anja Leichsenring <aleichsenring@ab-softlab.de> Tested-by:
TYPO3com <noreply@typo3.com> Tested-by:
Georg Ringer <georg.ringer@gmail.com> Reviewed-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Reviewed-by:
Georg Ringer <georg.ringer@gmail.com>
Showing
- typo3/sysext/core/Classes/Context/DateTimeAspect.php 3 additions, 3 deletionstypo3/sysext/core/Classes/Context/DateTimeAspect.php
- typo3/sysext/core/Documentation/Changelog/master/Important-92736-ReturnTimestampAsIntegerInDateTimeAspect.rst 27 additions, 0 deletions...ortant-92736-ReturnTimestampAsIntegerInDateTimeAspect.rst
- typo3/sysext/core/Tests/Unit/Context/DateTimeAspectTest.php 16 additions, 1 deletiontypo3/sysext/core/Tests/Unit/Context/DateTimeAspectTest.php
Please register or sign in to comment