[BUGFIX] Fix parse time calculation 13/52813/4
authorSusanne Moog <susanne.moog@typo3.com>
Fri, 5 May 2017 15:20:16 +0000 (17:20 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Wed, 17 May 2017 15:11:11 +0000 (17:11 +0200)
commit7bf27e60873755b3c351a0e40956e8f1eb2cf9ee
treea912ad8c2891f77cc5578ac1249210f25d6e9d96
parenta95b8a1c7e80ce5fcc066d497fd9597db643c629
[BUGFIX] Fix parse time calculation

Parse time calculation in RequestHandler was wrong,
additionally the same calculation is used in admin panel view.

The calculation was therefore added to the TimeTracker into a
common function and tested.

Change-Id: Ib935664e78a62deab7818426e2a853087c00b015
Resolves: #80742
Releases: master, 8.7
Reviewed-on: https://review.typo3.org/52813
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/core/Classes/TimeTracker/TimeTracker.php
typo3/sysext/core/Tests/Unit/TimeTracker/TimeTrackerTest.php [new file with mode: 0644]
typo3/sysext/frontend/Classes/Http/RequestHandler.php
typo3/sysext/frontend/Classes/View/AdminPanelView.php