- Clarify the guessing stage of date_default_timezone_get() a bit to prevent bug reports such as #54481.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@310049 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Derick Rethans 2011-04-08 09:39:09 +00:00
parent b715f40087
commit 0900962a11

View file

@ -35,7 +35,11 @@
</listitem>
<listitem>
<para>
Querying the host operating system (if supported and allowed by the OS)
Querying the host operating system (if supported and allowed by the OS). This uses an algorithm
that has to <strong>guess</strong> the timezone. This is by no means going to work correctly for
every situation. A warning is shown when this stage is reached. Do not rely on it to be guessed
correctly, and set <link linkend="ini.date.timezone">date.timezone</link> to the correct timezone
instead.
</para>
</listitem>
</itemizedlist>