On Tue, 27 Sep 2005, Stanislav Malyshev wrote:

> While everything worked just fine before, I can not use date() function
> anymore.

Sure you can, you just set the timezone yourself with the date.timezone 
setting. If you had e_strict errors turned on, you would have seen a 
warning about this.

> I guess this is because the built-in library that is now in charge
> for timezones does not recognize my timezone.

What is the timezone abbreviation (you can not call it a "timezone" as 
an abbreviation is not unique per sé)? If you tell us what name is not 
recognised, we can add it.

> I think using library that has
> internal fixed timezone list which is not the same as OSs tiemzone list is
> extermely unfortunate choice.

I totally disagree. It's extremely annoying if an application that uses 
timezones can not use it on another platform because the data for it is 
not there, or there is another abbreviation/name associated with it.

> While setting up timezone on user's OS is pretty
> much standard procedure (at least, any qualified sysadmin knows to do this and
> one can rely on it being done before PHP is run), I have no idea how can I
> make PHP to recognize my timezone now and thus besically what I have is that
> all date() functions are broken for me.

Turn on E_STRICT error reporting... and see the documentation: 
http://php.net/manual/en/ref.datetime.php

regards,
Derick

-- 
Derick Rethans
http://derickrethans.nl | http://ez.no | http://xdebug.org
-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to