cvs: phpdoc /en/reference/datetime timezones.xml versions.xml /en/reference/datetime/functions timezone-version-get.xml /scripts
gen-phpdoc-tz-list.php
| From: | Richard Quadling | Date: | Tue, 05 May 2009 08:41:06 +0000 |
| Subject: | cvs: phpdoc /en/reference/datetime timezones.xml versions.xml /en/reference/datetime/functions timezone-version-get.xml /scripts gen-phpdoc-tz-list.php |
||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-3965@lists.php.net to get a copy of this message | ||
rquadling Tue May 5 08:41:06 2009 UTC
Added files:
/phpdoc/en/reference/datetime/functions timezone-version-get.xml
Modified files:
/phpdoc/en/reference/datetime timezones.xml versions.xml
/phpdoc/scripts gen-phpdoc-tz-list.php
Log:
Added timezone_version_get and timezone DB version to list of supported timezones generator.
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/datetime/timezones.xml?r1=1.5&r2=1.6&diff_format=u
Index: phpdoc/en/reference/datetime/timezones.xml
diff -u phpdoc/en/reference/datetime/timezones.xml:1.5
phpdoc/en/reference/datetime/timezones.xml:1.6
--- phpdoc/en/reference/datetime/timezones.xml:1.5 Tue Apr 7 09:16:58 2009
+++ phpdoc/en/reference/datetime/timezones.xml Tue May 5 08:41:06 2009
@@ -1,11 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
<!-- AUTO GENERATED, DO NOT TRANSLATE OR MODIFY BY HAND -->
<appendix xml:id="timezones" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
&date.timezone.intro.title;
&date.timezone.intro;
+ <note>
+ <simpara>
+ This list is based upon Version 2009.7 of the timezonedb.
+ </simpara>
+ </note>
+
<sect1 xml:id="timezones.africa">
<title>Africa</title>
<table>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/datetime/versions.xml?r1=1.5&r2=1.6&diff_format=u
Index: phpdoc/en/reference/datetime/versions.xml
diff -u phpdoc/en/reference/datetime/versions.xml:1.5 phpdoc/en/reference/datetime/versions.xml:1.6
--- phpdoc/en/reference/datetime/versions.xml:1.5 Wed Apr 22 18:57:54 2009
+++ phpdoc/en/reference/datetime/versions.xml Tue May 5 08:41:06 2009
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='utf-8'?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
<!--
Do NOT translate this file
-->
@@ -143,6 +143,7 @@
<function name='timezone_offset_get' from='PHP 5 >= 5.1.0'/>
<function name='timezone_open' from='PHP 5 >= 5.1.0'/>
<function name='timezone_transitions_get' from='PHP 5 >= 5.2.0'/>
+ <function name='timezone_version_get' from='PHP 5 >= 5.3.0'/>
</versions>
<!-- Keep this comment at the end of the file
http://cvs.php.net/viewvc.cgi/phpdoc/scripts/gen-phpdoc-tz-list.php?r1=1.14&r2=1.15&diff_format=u
Index: phpdoc/scripts/gen-phpdoc-tz-list.php
diff -u phpdoc/scripts/gen-phpdoc-tz-list.php:1.14 phpdoc/scripts/gen-phpdoc-tz-list.php:1.15
--- phpdoc/scripts/gen-phpdoc-tz-list.php:1.14 Tue Apr 7 09:14:23 2009
+++ phpdoc/scripts/gen-phpdoc-tz-list.php Tue May 5 08:41:06 2009
@@ -27,13 +27,24 @@
$groupedList['Others'] = $others;
?>
<?php echo '<?'; ?>xml version="1.0" encoding="UTF-8"?>
-<!-- $Revision: 1.14 $ -->
+<!-- $Revision: 1.15 $ -->
<!-- AUTO GENERATED, DO NOT TRANSLATE OR MODIFY BY HAND -->
<appendix xml:id="timezones" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
&date.timezone.intro.title;
&date.timezone.intro;
<?php
+ if (function_exists('timezone_version_get')) {
+?>
+
+ <note>
+ <simpara>
+ This list is based upon Version <?php echo timezone_version_get(); ?> of the timezonedb.
+ </simpara>
+ </note>
+<?php
+ }
+
foreach ($groupedList as $group => $zones) {
$m = count($zones) > 4 ? 5 : count($zones); ?>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/datetime/functions/timezone-version-get.xml?view=markup&rev=1.1
Index: phpdoc/en/reference/datetime/functions/timezone-version-get.xml
+++ phpdoc/en/reference/datetime/functions/timezone-version-get.xml
<?xml version="1.0" encoding="UTF-8"?>
<!-- $Revision: 1.1 $ -->
<refentry xml:id="function.timezone-version-get" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>timezone_version_get</refname>
<refpurpose>
Gets the version of the timezonedb
</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>string</type><methodname>timezone_version_get</methodname>
<void/>
</methodsynopsis>
<para>
Returns the current version of the timezonedb.
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Returns a <type>string</type>.
</para>
</refsect1>
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>Getting the timezonedb version</title>
<programlisting role="php">
<![CDATA[
<?php
echo timezone_version_get();
?>
]]>
</programlisting>
&example.outputs.similar;
<screen>
<![CDATA[
2009.7
]]>
</screen>
</example>
</para>
</refsect1>
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><link linkend="timezones">List of Supported
Timezones</link></member>
</simplelist>
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->