Re: [PEAR] creating a faux package produces bad dates

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Thomas,

On Thu, Jan 7, 2010 at 11:29 PM, Thomas Anderson <zelnaga@xxxxxxxxx> wrote:
> At first I was getting the following errors:
>
> Warning: date(): It is not safe to rely on the system's timezone
> settings. You are *required* to use the date.timezone setting or the
> date_default_timezone_set() function. In case you used any of those
> methods and you are still getting this warning, you most likely
> misspelled the timezone identifier. We selected 'America/Chicago' for
> '-6.0/no DST' instead in Validate.php on line 456
>
> So I added 'date.timezone = "America/Chicago"' to my php.ini and
> although I no longer get the above error the dates on the files in my
> *.tgz still say January 1, 1970.

Hmm, that tells me the timestamp used for the calculation was probably
0 or false.

> Any ideas?

What date are you referring to? Which .tgz, and what dates? I see
you're trying to use the Validate package, what methods were you
using, or what were you trying when the error occurs?

-- 
Brett Bieber

-- 
PEAR General Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Users]     [PHP on Windows]     [PHP Install]     [PHP Classes]     [Postgresql PHP]     [PHP Books]     [PHP for Windows]     [PHP Databases]     [PHP SOAP]     [Postgresql]     [Apache Users]     [PHP Home]

  Powered by Linux