wrong timestamp generated
|Priority:||Must have||Due date:|
|Assigned To:||-||% Done:||
|Category:||Backend API||Spent time:||-|
|TYPO3 Version:||4.4||Is Regression:|
|PHP Version:||5.3||Sprint Focus:|
when I select secific date- 4th of july(occures probably with all years, confirmed i.e. by 1985) in datepicker in backend DB object editor, typo saves wrong timestamp into DB. This causes displaying date one day earlier than it should be.My version of typo is 4.4.2
#1 Updated by Markus Klein almost 3 years ago
Did you check if all the timezone settings are correct.
Server, PHP, mysql, TYPO3
#2 Updated by Jigal van Hemert almost 3 years ago
- Status changed from New to Needs Feedback
PHP 5.3 needs a correct time zone setting for all time/date related functions.
In the Install Tool you can set $GLOBALS['TYPO3_CONF_VARS']['phpTimeZone'] to set the right timezone. If setting is empty TYPO3 tries to use a server setting, but this might lead to incorrect results.