ID: 35897 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Documentation problem Operating System: irrelevant PHP Version: Irrelevant Assigned To: sean New Comment:
this might be a nicer variant for the script fix .. though it might still need some entity love .. 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 21:54:35 -0000 @@ -62,6 +62,14 @@ </tbody> </tgroup> </table> + <note> + <simpara> + The latest version of the timezone database can be downloaded + <ulink link="http://pecl.php.net/package/timezonedb">here</ulink>. + For windows users a pre compiled DLL can be downloaded + <ulink link="http://pecl4win.php.net/ext.php/php_timezonedb.dll">here</ulink>. + </simpara> + </note> </sect1> <?php } ?> </appendix> Previous Comments: ------------------------------------------------------------------------ [2006-01-04 20:37:27] [EMAIL PROTECTED] 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 this bug report at http://bugs.php.net/?id=35897&edit=1