Re: datetime status

From: Date: Mon, 21 Nov 2011 08:59:42 +0000
Subject: Re: datetime status
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-56453@lists.php.net to get a copy of this message
Hi!
That is incorrect, not every timezone DST change is 60 minutes.
The I would guess this code in do_adjust_timezone() also wrong: case TIMELIB_ZONETYPE_ABBR: { timelib_sll tmp; tz->is_localtime = 1; tmp = tz->z; tmp -= tz->dst * 60; tmp *= 60; return tmp; } Since it makes the same assumption? -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227

« previous php.internals (#56453) next »