On Mon, May 27, 2013 at 10:35 AM, Jannik Zschiesche <[email protected]>wrote:
> would it be hard to just show the notice as soon as the user actually uses
> a function regarding to date/time (and not before)?
>
> Currently the message is shown all the time, at the start of the script -
> even if the script is as simple as
>
> <?php
>
> echo 1;
>
>
> Wouldn't it be more useful if the notice only appears, if I actually use a
> date/time-function?
>
>
That wouldn't solve the problem, because date/time functions are very
common, and the warning would still show up for too many people. So we
would "solve" the problem for just a small percent of people, while not
solving the key issue.
Also, the check "if timezone not set show warning" would have to be shifted
from initialization to call of each and every datetime function.
--Leszek