[TYPO3-core] RFC #7626: Date/time handling is completely broken in 4.2

Dmitry Dulepov [typo3] dmitry at typo3.org
Mon Feb 25 17:13:04 CET 2008


Hi!

Steffen Kamper wrote:
> this.lastDate - theTime.getTimezoneOffset()
> 
> UTC +2 :  theTime.getTimezoneOffset() = -120
> 
> so UTC - - 120 = UTC + 120

Exactly. And in case if anyone wants to change "-" to "+", it will not help because rest of the code will use getUTC* functions, which expect local time.

-- 
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-team-core mailing list