[TYPO3] Typo3 4.2 date field copy problem (e.g. in tt_news)

Dmitry Dulepov [typo3] dmitry at typo3.org
Sun Apr 27 20:53:47 CEST 2008


Klaus Hinum wrote:
> we just encountered the following thing (which should be 4.2 related as 
> we didn't notice eralier).
> 
> If we copy an item from our extension or in tt_news in list view (a 
> review item with a date of the review) then the date is declined for two 
> hours in the copied item. This is very strange (not the crdate field but 
> an own field of type date).
> 
> E.g.
> uid, text, date
> 1, abc, 01.01.2008
> 2, copied_abc, 31.12.2007
> 
> Very strange, why does typo3 alter the date field on copying the element 
> in list view? Is it a bug that should be reported

Do you have proper timezone settings in PHP? PHP5 requires correct timezone settings if you want it to return proper dates. If you do not have proper settings, it will assume you are in GMT.

-- 
Dmitry Dulepov
TYPO3 core team
Web: http://typo3bloke.net/
Skype: callto:liels_bugs
"Nothing is impossible. There are only limits to our knowledge"


More information about the TYPO3-english mailing list