derick          Fri Sep  8 12:38:31 2006 UTC

  Modified files:              
    /phpdoc/scripts     gen-phpdoc-tz-list.php 
  Log:
  - Updated script that orders different.
  
  
http://cvs.php.net/viewvc.cgi/phpdoc/scripts/gen-phpdoc-tz-list.php?r1=1.5&r2=1.6&diff_format=u
Index: phpdoc/scripts/gen-phpdoc-tz-list.php
diff -u phpdoc/scripts/gen-phpdoc-tz-list.php:1.5 
phpdoc/scripts/gen-phpdoc-tz-list.php:1.6
--- phpdoc/scripts/gen-phpdoc-tz-list.php:1.5   Fri Sep  8 12:06:17 2006
+++ phpdoc/scripts/gen-phpdoc-tz-list.php       Fri Sep  8 12:38:31 2006
@@ -1,13 +1,12 @@
 <?php
        $groupedList = array();
        $aliasList = array(
-               'Brazil' => 'America',
-               'Canada' => 'America',
-               'Chile' => 'America',
+               'Brazil' => 'Others',
+               'Canada' => 'Others',
+               'Chile' => 'Others',
                'Etc' => 'Others',
-               'Mexico' => 'America',
-               'US' => 'America',
-               'Indian' => 'Asia',
+               'Mexico' => 'Others',
+               'US' => 'Others',
        );
        $list = timezone_identifiers_list();
 
@@ -28,7 +27,7 @@
     $groupedList['Others'] = $others;
 ?>
 <?php echo '<?'; ?>xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
 <!-- AUTO GENERATED, DO NOT MODIFY BY HAND -->
 
 <appendix id="timezones">
@@ -62,6 +61,22 @@
     </tbody>
    </tgroup>
   </table>
+<?php if ( $group == 'Others' ) { ?>
+  <note>
+   <simpara>
+     Please do not use any of the timezones listed here, they only exist
+     for backward compatible reasons.
+   </simpara>
+  </note>
+<?php } ?>
+  <note>
+   <simpara>
+    The latest version of the timezone database can be installed via PECL's
+    <ulink url="&url.pecl.package.get;timezonedb">timezonedb</ulink>.
+    For Windows users, a pre-compiled DLL can be downloaded from the PECL4Win
+    site: <ulink url="&url.pecl.timezonedb.dll;">php_timezonedb.dll</ulink>.
+   </simpara>
+  </note>
  </sect1>
 <?php } ?>
 </appendix>

Reply via email to