#48530 [Bgs]: Timezone GMT+08:00 Beijing,Chongqing,... not recognized by date("c")
ID: 48530 User updated by: lieven_vaneeckhaute at symantec dot com Reported By: lieven_vaneeckhaute at symantec dot com Status: Bogus Bug Type: Date/time related Operating System: Windows XP PHP Version: 5.2.9 New Comment: Most other time zones (all of them on Linux) are recognized but Beijing isn't on a Windows. This makes our customers in this time zone unhappy. PHP runs on their machines. We want to have the local time, not GMT or some other incorrect timezone. Setting a default time zone that is recognized(not Beijing) doesn't really solve our problem. Previous Comments: [2009-06-11 22:58:13] der...@php.net Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. YOu need to set the date.timezone setting: http://nl3.php.net/manual/en/datetime.configuration.php#ini.date.timezone [2009-06-11 12:36:00] lieven_vaneeckhaute at symantec dot com Description: On Windows I'm running in timezone Beijing,... which is +08:00. If echo date("c") or date("r") it displays as Thu, 11 Jun 2009 12:27:54 + rather than 20:27:54 +0800. To us for reporting reasons it is very useful to know what time it was on the local system. We run php as CLI. Reproduce code: --- Expected result: Display 20:27:54 +0800 rather than 12:27:54 +. Actual result: -- Thu, 11 Jun 2009 12:27:54 + -- Edit this bug report at http://bugs.php.net/?id=48530&edit=1
#48530 [NEW]: Timezone GMT+08:00 Beijing,Chongqing,... not recognized by date("c")
From: lieven_vaneeckhaute at symantec dot com Operating system: Windows XP PHP version: 5.2.9 PHP Bug Type: Date/time related Bug description: Timezone GMT+08:00 Beijing,Chongqing,... not recognized by date("c") Description: On Windows I'm running in timezone Beijing,... which is +08:00. If echo date("c") or date("r") it displays as Thu, 11 Jun 2009 12:27:54 + rather than 20:27:54 +0800. To us for reporting reasons it is very useful to know what time it was on the local system. We run php as CLI. Reproduce code: --- Expected result: Display 20:27:54 +0800 rather than 12:27:54 +. Actual result: -- Thu, 11 Jun 2009 12:27:54 + -- Edit bug report at http://bugs.php.net/?id=48530&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=48530&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=48530&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=48530&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=48530&r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=48530&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=48530&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=48530&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=48530&r=needscript Try newer version: http://bugs.php.net/fix.php?id=48530&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=48530&r=support Expected behavior: http://bugs.php.net/fix.php?id=48530&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=48530&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=48530&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=48530&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=48530&r=php4 Daylight Savings:http://bugs.php.net/fix.php?id=48530&r=dst IIS Stability: http://bugs.php.net/fix.php?id=48530&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=48530&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=48530&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=48530&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=48530&r=mysqlcfg