Bug #43363
closedSyslog day header uses incorrect timestamp (with locale offset)
100%
Description
Steps to reproduce¶
- Clear cache or do something else which creates a log line in syslog
- Go to Admin Tools > Log: the "day header" shows yesterday (in my case, Europe/Amsterdam).
Possible solution¶
TYPO3\CMS\Belog\Controller\AbstractController, line 204:
Change
$timestampDay = strtotime(strftime('%d.%m.%Y', $entry->getTstamp()));
to
$timestampDay = strtotime(strftime('%d.%m.%Y UTC', $entry->getTstamp()));
Updated by Ernesto Baschny almost 12 years ago
Old belog (in 4.5 .. 4.7) used to render the unix timestamps using straight calls to date():
sprintf($GLOBALS['LANG']->getLL('logForNonPageRelatedActionsOrRootLevelOrPage'),
$insertMsg,
date($this->dateFormat, $starttime),
date($this->dateFormat, $endtime)
),
Now with the extbase module it's not very easy to grasp where this conversion to UTC comes from.
I would prefer to keep it like it was before, displaying the same time which was displayed in previous TYPO3 versions, in order to avoid confusion after the upgrade.
Updated by Ernesto Baschny almost 12 years ago
- Category set to Backend User Interface
- Status changed from New to Accepted
- Target version deleted (
6.0.1)
Updated by Tomita Militaru almost 12 years ago
Under review: https://review.typo3.org/#/c/17045/
Updated by Christian Kuhn almost 12 years ago
- Status changed from Accepted to Closed
- Complexity changed from easy to hard
closed as duplicate of #12769 ... will be handled there.
Updated by Gerrit Code Review almost 12 years ago
- Status changed from Closed to Under Review
Patch set 1 for branch fluid_6-0 has been pushed to the review server.
It is available at https://review.typo3.org/18086
Updated by Gerrit Code Review almost 12 years ago
Patch set 1 for branch fluid_4-7 has been pushed to the review server.
It is available at https://review.typo3.org/18089
Updated by Gerrit Code Review almost 12 years ago
Patch set 1 for branch fluid_1-3 has been pushed to the review server.
It is available at https://review.typo3.org/18090
Updated by Gerrit Code Review almost 12 years ago
Patch set 1 for branch fluid_1-4 has been pushed to the review server.
It is available at https://review.typo3.org/18091
Updated by Gerrit Code Review almost 12 years ago
Patch set 2 for branch fluid_6-0 has been pushed to the review server.
It is available at https://review.typo3.org/18086
Updated by Anja Leichsenring almost 12 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset commit:fa3665c0db33f0cc788f908a6edb20f0553eadd3.