Project

General

Profile

Actions

Bug #20241

closed

Change date after saving record

Added by Vladimir Podkovanov over 15 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2009-03-26
Due date:
% Done:

0%

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

Description

When I try to edit date input field to "26-3-1989" it is being changed by BE to "25-3-1989" (after saving record).
Conf for the field:
'birthday' => array(
'exclude' => 1,
'label' => 'Date of Birth',
'config' => array(
'type' => 'input',
'size' => '10',
'eval' => 'date',
'checkbox' => ''
),
),
I have checked POST data being sent: browser sends "26-3-1989" and "606873600" (timestamp for "1989-03-26 04:00:00") and in DB it comes as 606859200 (timestamp for "1989-03-25 23:00:00"). So somewhere in core it is changed to be 5 hours early.

(issue imported from #M10784)


Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #20389: Wrong timezone handlingClosed2009-05-03

Actions
Actions #1

Updated by Vladimir Podkovanov over 15 years ago

This issue could be closed as in #20389 I've explained more details on date / time mishandling including desribed here.

Actions #2

Updated by Chris topher over 14 years ago

Hi Vladimir,

as requested, I will close this issue.

Please tell us in #20389, how we can reproduce this problem.

Actions

Also available in: Atom PDF