From:             [EMAIL PROTECTED]
Operating system: irrelevant
PHP version:      Irrelevant
PHP Bug Type:     Documentation problem
Bug description:  add more information about supported timezones

Description:
------------
There is currently no information about the supported timezones from the
datetime section of the manual. Also from the timezone listing there is no
link to the pecl::timezonedb package. So users might be misled to believe
they need to upgrade PHP to update their timezones.

The following patches are untested and probably need some tweaking from a
phpdoc/docbook expert. 

Reproduce code:
---------------
add link to supported timezones to date_default_timezone_get()
RCS file:
/repository/phpdoc/en/reference/datetime/functions/date-default-timezone-get.xml,v
retrieving revision 1.3
diff -u -r1.3 date-default-timezone-get.xml
--- date-default-timezone-get.xml       2 Sep 2005 14:39:56 -0000       1.3
+++ date-default-timezone-get.xml       4 Jan 2006 19:27:59 -0000
@@ -46,6 +46,12 @@
     </listitem>
    </itemizedlist>
   </para>
+  <note>
+   <simpara>
+    The supported timezones can be found here
+    <xref linkend="timezones"/> inside the <xref linkend="appendixes"/>.
+   </simpara>
+  </note>
  </refsect1>
 
  <refsect1 role="returnvalues">

hopefully add link to pecl::timezonedb and the windows dll to the final
output of the timezone overview
RCS file: /repository/phpdoc/scripts/gen-phpdoc-tz-list.php,v
retrieving revision 1.1
diff -u -r1.1 gen-phpdoc-tz-list.php
--- gen-phpdoc-tz-list.php      19 Oct 2005 07:20:48 -0000      1.1
+++ gen-phpdoc-tz-list.php      4 Jan 2006 19:26:40 -0000
@@ -62,6 +62,14 @@
     </tbody>
    </tgroup>
   </table>
+  <note>
+   <simpara>
+    The latest version of the timezone database can be downloaded here:
+    http://pecl.php.net/package/timezonedb
+    For windows users a pre compiled DLL can be downloaded here:
+    http://pecl4win.php.net/ext.php/php_timezonedb.dll
+   </simpara>
+  </note>
  </sect1>
 <?php } ?>
 </appendix> 


-- 
Edit bug report at http://bugs.php.net/?id=35897&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=35897&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): 
http://bugs.php.net/fix.php?id=35897&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=35897&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=35897&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=35897&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=35897&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=35897&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=35897&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=35897&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=35897&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=35897&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=35897&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=35897&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=35897&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=35897&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=35897&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=35897&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=35897&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=35897&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=35897&r=mysqlcfg

Reply via email to