[TYPO3-core] RFC #7626: Date/time handling is completely broken in 4.2
Steffen Kamper
steffen at sk-typo3.de
Sun Feb 24 14:48:32 CET 2008
"Dmitry Dulepov [typo3]" <dmitry at typo3.org> schrieb im Newsbeitrag
news:mailman.1.1203860748.23255.typo3-team-core at lists.netfielders.de...
> Hi!
>
> Steffen Kamper wrote:
>> Server thinks he get an UTC and adds 1 hour (UTC +1)
>
> Where does server add it? Or you are talking about Masi's patch?
>
it's the part in tceforms you also removed in your patch
- if((in_array('date',$evalList) || in_array('datetime',$evalList)) &&
$PA['itemFormElValue']>0){
- // Add server timezone offset to UTC to our stored date
- $hoursOffset = date('O',$PA['itemFormElValue'])/100;
- $PA['itemFormElValue'] += ($hoursOffset*60*60);
- }
vg Steffen
More information about the TYPO3-team-core
mailing list