Project

General

Profile

Actions

Bug #43363

closed

Syslog day header uses incorrect timestamp (with locale offset)

Added by Egbert van der Hout almost 12 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2012-11-27
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.0
PHP Version:
5.3
Tags:
Complexity:
hard
Is Regression:
Sprint Focus:

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()));


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #45074: Wrong dates and datetime in admin logClosed2013-02-01

Actions
Actions

Also available in: Atom PDF