Hy Xavier,

Setting the default timezone does not invoke the object of Zend_Date.
Please give a reproducable code snippet.

Generally you will receive such warnings when you try to do:
$date->setTimezone(somethingwhichisnotatimezone);
And also when you are using you own error-handler as those get also suppressed warnings.

Greetings
Thomas
I18N Team Leader

----- Original Message ----- From: "Xavier Vidal Piera" <[EMAIL PROTECTED]>
To: "Zend Framework General" <[email protected]>
Sent: Wednesday, May 21, 2008 6:37 PM
Subject: [fw-general] Date warning


When i'm using Zend_Date objects, now, with ZF 1.5.2 i'm getting this
warning:

timezone_open() function.timezone-open: Unknown or bad timezone (1977)


In my bootstrap i have this line:

date_default_timezone_set('Europe/Madrid');

My PHP version is 5.2.3

The timezone is supported as PHP site says
http://es2.php.net/manual/es/timezones.europe.php

Anyone knows how to solve this and remove that warning?

Thanks

--
Xavier Vidal Piera
Enginyer Tècnic Informàtic de Gestió
Tècnic Especialista Informàtic d'equips
[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://web.xaviervidal.net
610.68.41.78


Reply via email to