[wp-trac] [WordPress Trac] #10940: date() and strtotime() warnings in PHP 5.3

WordPress Trac wp-trac at lists.automattic.com
Fri Oct 9 23:39:47 UTC 2009


#10940: date() and strtotime() warnings in PHP 5.3
--------------------------+-------------------------------------------------
 Reporter:  Viper007Bond  |       Owner:     
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  2.9
Component:  General       |     Version:  2.9
 Severity:  normal        |    Keywords:     
--------------------------+-------------------------------------------------
 Related: #10533

 `WP_DEBUG` is NOT enabled.

 Multiple times per post:

 {{{
 Warning: strtotime() [function.strtotime]: It is not safe to rely on the
 system's timezone settings. You are *required* to use the date.timezone
 setting or the date_default_timezone_set() function. In case you used any
 of those methods and you are still getting this warning, you most likely
 misspelled the timezone identifier. We selected 'America/Los_Angeles' for
 '-7.0/DST' instead in D:\Webserver\htdocs\wordpress-dev-embeds\wp-
 includes\functions.php on line 35

 Warning: date() [function.date]: It is not safe to rely on the system's
 timezone settings. You are *required* to use the date.timezone setting or
 the date_default_timezone_set() function. In case you used any of those
 methods and you are still getting this warning, you most likely misspelled
 the timezone identifier. We selected 'America/Los_Angeles' for '-7.0/DST'
 instead in D:\Webserver\htdocs\wordpress-dev-embeds\wp-
 includes\functions.php on line 43

 Warning: date() [function.date]: It is not safe to rely on the system's
 timezone settings. You are *required* to use the date.timezone setting or
 the date_default_timezone_set() function. In case you used any of those
 methods and you are still getting this warning, you most likely misspelled
 the timezone identifier. We selected 'America/Los_Angeles' for '-7.0/DST'
 instead in D:\Webserver\htdocs\wordpress-dev-embeds\wp-
 includes\functions.php on line 107

 Warning: date() [function.date]: It is not safe to rely on the system's
 timezone settings. You are *required* to use the date.timezone setting or
 the date_default_timezone_set() function. In case you used any of those
 methods and you are still getting this warning, you most likely misspelled
 the timezone identifier. We selected 'America/Los_Angeles' for '-7.0/DST'
 instead in D:\Webserver\htdocs\wordpress-dev-embeds\wp-
 includes\functions.php on line 109

 Warning: date() [function.date]: It is not safe to rely on the system's
 timezone settings. You are *required* to use the date.timezone setting or
 the date_default_timezone_set() function. In case you used any of those
 methods and you are still getting this warning, you most likely misspelled
 the timezone identifier. We selected 'America/Los_Angeles' for '-7.0/DST'
 instead in D:\Webserver\htdocs\wordpress-dev-embeds\wp-
 includes\functions.php on line 111

 Warning: date() [function.date]: It is not safe to rely on the system's
 timezone settings. You are *required* to use the date.timezone setting or
 the date_default_timezone_set() function. In case you used any of those
 methods and you are still getting this warning, you most likely misspelled
 the timezone identifier. We selected 'America/Los_Angeles' for '-7.0/DST'
 instead in D:\Webserver\htdocs\wordpress-dev-embeds\wp-
 includes\functions.php on line 112
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10940>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list