#44592 [NEW]: usage of deprecated timezone UTC suggested
| From: | bernhard at bksys dot at | Date: | Tue, 01 Apr 2008 13:03:48 +0000 |
| Subject: | #44592 [NEW]: usage of deprecated timezone UTC suggested | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-645@lists.php.net to get a copy of this message | ||
From: bernhard at bksys dot at
Operating system: any
PHP version: Irrelevant
PHP Bug Type: Documentation problem
Bug description: usage of deprecated timezone UTC suggested
Description:
------------
http://www.php.net/manual/en/timezones.others.php
, which lists the
timezone UTC says: "Note: Please do not use any of the timezones listed
here, they only exist for backward compatible reasons."
OTOH http://www.php.net/manual/en/function.date-default-timezone-set.php
says: "timezone_identifier The timezone identifier, like UTC or
Europe/Lisbon."
Also, http://www.php.net/manual/en/function.date-default-timezone-get.php
says: "If none of the above options succeeds, return UTC".
I suggest to substitute UTC for something that does not exist for backward
compatible reasons only.
--
Edit bug report at http://bugs.php.net/?id=44592&edit=1
--
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=44592&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=44592&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=44592&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=44592&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=44592&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=44592&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=44592&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=44592&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=44592&r=support
Expected behavior: http://bugs.php.net/fix.php?id=44592&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=44592&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=44592&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=44592&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=44592&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=44592&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=44592&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=44592&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=44592&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=44592&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=44592&r=mysqlcfg