Issue Bug Closed

#43363Syslog day header uses incorrect timestamp (with locale offset)

Egbert van der Hout 11/27/12, 22:47 updated 10/02/18, 12:14

Description

Steps to reproduce

  1. Clear cache or do something else which creates a log line in syslog
  2. 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()));

Reviews 1