Edit report at http://bugs.php.net/bug.php?id=53494&edit=1

 ID:                 53494
 Updated by:         [email protected]
 Reported by:        mike dot christen at mediaclubroyale dot com
 Summary:            date() warning - no php.ini timezone setting
-Status:             Open
+Status:             Bogus
 Type:               Bug
 Package:            *General Issues
 Operating System:   linux, mac
 PHP Version:        5.3.3
 Block user comment: N
 Private report:     N

 New Comment:

See bug #39142.


Previous Comments:
------------------------------------------------------------------------
[2010-12-08 01:48:59] mike dot christen at mediaclubroyale dot com

Description:
------------
It is not safe to rely on the system's timezone settings



why the heck not?  every other software relies on server timezone
settings, why 

not yours -- 



so you've downgraded a perfectly fine running php program now to kick
out an 

ugly warning, ruining everybody's php installs for the php programs.



BACKWARDLY COMPATIBLE, PEOPLE.  DON'T CHANGE SOMETHING, UNLESS IT'S AN 

IMPROVEMENT.  



Yes, I know you can set the timezone setting in php.ini, BUT NOT EVERY
USER IS A 

SYSADMIN.



GET A LIFE.



Test script:
---------------
<?php

   date();

?>

Expected result:
----------------
I want the blooming date, not a warning you don't know what timezone to
use -- if 

there is no timezone - just give me the system time.



------------------------------------------------------------------------



-- 
Edit this bug report at http://bugs.php.net/bug.php?id=53494&edit=1

Reply via email to