[wp-trac] Re: [WordPress Trac] #8662: current_time('timestamp')
doesn't return the correct timestamp value
WordPress Trac
wp-trac at lists.automattic.com
Tue Apr 28 21:58:40 GMT 2009
#8662: current_time('timestamp') doesn't return the correct timestamp value
--------------------------+-------------------------------------------------
Reporter: hudatoriq | Owner: hudatoriq
Type: defect (bug) | Status: new
Priority: high | Milestone: 2.9
Component: Date/Time | Version: 2.7
Severity: major | Keywords: has-patch needs-testing
--------------------------+-------------------------------------------------
Comment(by Otto42):
Replying to [comment:27 hakre]:
> Otto: Please keep in mind that WordPress has to work with PHP 4.3.
The patch for timezone support works perfectly with PHP 4.3, as it checks
for compatibility before doing anything. Older PHP systems see no changes
and that code does not activate. All that code has been tested and
approved as far as that goes.
The only way you'd see a difference is in PHP 5 and up, and I'm saying
that I'd check to see if removing that date_default_timezone_set line
fixes the problems being seen. Because it could be the cause of them.
That's all I'm saying, really.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/8662#comment:32>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list