[TYPO3-dev] process_datamap() & timestamp

Bernd Wilke t3ng at pi-phi.tk
Wed Nov 23 13:32:51 CET 2011


On Wed, 23 Nov 2011 11:51:28 +0100, Jan Kornblum wrote:

> Hi group,
> 
> does "t3lib_TCEmain::process_datamap()" execute any operations on
> timestamp-fields?
> 
> I've got the strange behaviour that when the data-array contains a
> timestamp field, this value get decreased for 1 day when updated in
> db...?
> 
> Example:
> 
> $data['tx_ext_table'][15]['reminder'] = 1321484400; $tce =
> t3lib_div::makeInstance('t3lib_TCEmain'); $tce->start($data, null);
> $tce->process_datamap();
> 
> 
> -> Leads to: '1321480800' being saved into db!?

as the difference is just 3600 (one hour) I suppose a time converting by 
time zone and/or summer time (UTC-time?)
 
> What could i misunderstand??

bernd
-- 
http://www.pi-phi.de/cheatsheet.html



More information about the TYPO3-dev mailing list