Re: strtotime strangeness

From: Date: Mon, 05 Oct 2009 16:15:19 +0000
Subject: Re: strtotime strangeness
References: 1 2 3 4 5 6 7 8 9  Groups: php.general 
Request: Send a blank email to php-general+get-298608@lists.php.net to get a copy of this message
Floyd Resler wrote: > Well that's odd. locale_get_default() gave me an undefined function > error. Apparently this year problem has been reported as a bug on > bugs.php.net but the status for it (and everything else) is Bogus. I'm > not sure if that means anything or not but hopefully a fix will be > coming soon. > You stated that you are running PHP 5.2.10 , too bad the function recommend (locale_get_default()) is only available in PHP 5.3 or newer. > Thanks! > Floyd > > On Oct 5, 2009, at 9:54 AM, Daniel Brown wrote: > >> On Sun, Oct 4, 2009 at 17:00, Floyd Resler <fresler@adex-intl.com> wrote: >>> Sorry to hear that! I live in Cincinnati so I normally don't get to >>> watch >>> the Colts play when they are on at the same time as the Bengals. But >>> this >>> week I did and, best of all, they won! >> >> Yeah, well, the Browns sure didn't, so bite me. I've got the >> Vikes tonight, though.... going to be awesome! >> >> In any case, as Andrea suggested, make sure your locale settings >> haven't changed. Check: >> >> <?php echo date("Y",$timestamp); ?> >> >> .... and.... >> >> <?php echo locale_get_default(); ?> >> >> -- >> </Daniel P. Brown> >> daniel.brown@parasane.net || danbrown@php.net >> http://www.parasane.net/ || >> http://www.pilotpig.net/ >> Check out our great hosting and dedicated server deals at >> http://twitter.com/pilotpig >> > >

« previous php.general (#298608) next »