Actions
Bug #20241
closedChange date after saving record
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)
Actions