Re: creating a faux package produces bad dates

From: Date: Fri, 08 Jan 2010 14:45:51 +0000
Subject: Re: creating a faux package produces bad dates
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-30215@lists.php.net to get a copy of this message
Hi Thomas, On Thu, Jan 7, 2010 at 11:29 PM, Thomas Anderson <zelnaga@gmail.com> 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

« previous php.pear.general (#30215) next »