mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
more ini options for the date/time standard extension
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@189043 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
699d4a71f7
commit
1689a5c7ab
2 changed files with 92 additions and 7 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.19 $ -->
|
||||
<!-- $Revision: 1.20 $ -->
|
||||
|
||||
<appendix id="ini">
|
||||
<title>&php.ini; directives</title>
|
||||
|
@ -300,29 +300,35 @@
|
|||
<entry></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>date.default_latitude</entry>
|
||||
<entry><link linkend="ini.date.default-latitude">date.default_latitude</link></entry>
|
||||
<entry>"31.7667"</entry>
|
||||
<entry>PHP_INI_ALL</entry>
|
||||
<entry>Available since PHP 5.0.0.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>date.default_longitude</entry>
|
||||
<entry><link linkend="ini.date.default-longitude">date.default_longitude</link></entry>
|
||||
<entry>"35.2333"</entry>
|
||||
<entry>PHP_INI_ALL</entry>
|
||||
<entry>Available since PHP 5.0.0.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>date.sunrise_zenith</entry>
|
||||
<entry><link linkend="ini.date.sunrise-zenith">date.sunrise_zenith</link></entry>
|
||||
<entry>"90.83"</entry>
|
||||
<entry>PHP_INI_ALL</entry>
|
||||
<entry>Available since PHP 5.0.0.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>date.sunset_zenith</entry>
|
||||
<entry><link linkend="ini.date.sunset-zenith">date.sunset_zenith</link></entry>
|
||||
<entry>"90.83"</entry>
|
||||
<entry>PHP_INI_ALL</entry>
|
||||
<entry>Available since PHP 5.0.0.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.date.timezone">date.timezone</link></entry>
|
||||
<entry>"GMT"</entry>
|
||||
<entry>PHP_INI_ALL</entry>
|
||||
<entry>Available since PHP 5.1.0.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>dba.default_handler</entry>
|
||||
<entry>""</entry>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.1 $ -->
|
||||
<!-- $Revision: 1.2 $ -->
|
||||
<section id="datetime.configuration">
|
||||
&reftitle.runtime;
|
||||
&extension.runtime;
|
||||
|
@ -16,6 +16,30 @@
|
|||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>date.default_latitude</entry>
|
||||
<entry>"31.7667"</entry>
|
||||
<entry>PHP_INI_ALL</entry>
|
||||
<entry>Available since PHP 5.0.0.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>date.default_longitude</entry>
|
||||
<entry>"35.2333"</entry>
|
||||
<entry>PHP_INI_ALL</entry>
|
||||
<entry>Available since PHP 5.0.0.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>date.sunrise_zenith</entry>
|
||||
<entry>"90.83"</entry>
|
||||
<entry>PHP_INI_ALL</entry>
|
||||
<entry>Available since PHP 5.0.0.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>date.sunset_zenith</entry>
|
||||
<entry>"90.83"</entry>
|
||||
<entry>PHP_INI_ALL</entry>
|
||||
<entry>Available since PHP 5.0.0.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>date.timezone</entry>
|
||||
<entry>"GMT"</entry>
|
||||
|
@ -32,6 +56,54 @@
|
|||
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry id="ini.date.default-latitude">
|
||||
<term>
|
||||
<parameter>date.default_latitude</parameter>
|
||||
<type>float</type>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
The default latitude.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="ini.date.default-longitude">
|
||||
<term>
|
||||
<parameter>date.default_longitude</parameter>
|
||||
<type>float</type>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
The default longitude.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="ini.date.sunrise-zenith">
|
||||
<term>
|
||||
<parameter>date.sunrise_zenith</parameter>
|
||||
<type>float</type>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
The default sunrise zenith.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="ini.date.sunset-zenith">
|
||||
<term>
|
||||
<parameter>date.sunset_zenith</parameter>
|
||||
<type>float</type>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
The default sunset zenith.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="ini.date.timezone">
|
||||
<term>
|
||||
<parameter>date.timezone</parameter>
|
||||
|
@ -41,12 +113,19 @@
|
|||
<para>
|
||||
The default timezone. This is used when the <envar>TZ</envar>
|
||||
environment variable is <emphasis role="bold">not</emphasis> set.
|
||||
Currently it is only used by the <function>strtotime</function>
|
||||
function.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
|
||||
<note>
|
||||
<simpara>
|
||||
The first four configuration options are currently only used by
|
||||
<function>date_sunrise</function> and <function>date_sunset</function>.
|
||||
</simpara>
|
||||
</note>
|
||||
</section>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
|
Loading…
Reference in a new issue