Bug #18857
closedDatetime bug because of different local time
0%
Description
I'm working with the final version of TYPO3 4.2 and I have a field in one of my own extension with a datetime:
"datetime" => Array (
"exclude" => 1,
"label" => "LLL:EXT:my_lawyer_management/locallang_db.xml:tx_mylawyermanagement_newsletterissues.datetime",
"config" => Array (
"type" => "input",
"size" => "8",
"max" => "20",
"eval" => "date",
"checkbox" => "0",
)
),
When I save a date in my default language - the date is saved as timestamp in the database with the correct date and a time of midnight. When I translate this record the date should be get from the standard-language-record - it is taken, but with a time difference of 2 hours in the past, so the date of the translated record is now from one day before.
I'm working here in Berlin, Germany so with the summertime maybe there are these 2 hours difference...
The hint from Dmitry to set the "date.timezone" in the php.ini explicitly had no effects - the problem still exists.
(issue imported from #M8522)
Files