From: Jim Hu <ji...@ta...> - 2005-12-16 16:56:25
|
I thought I had caught these in CVS by replacing strtotime("now +$second_offset seconds") with time()+$second_offset There's no reason to use strings here, guys. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Jim Hu On Dec 16, 2005, at 10:46 AM, ad...@jp... wrote: > Nicolas, > You need to change a few other things as well to get = PHPiCalendar =20 > to work under PHP-5.1.1: > > 1.) in week.php, day.php, year.php, and month.php; you must change =20= > strtotime("now + $second_offset seconds") to read strtotime("now +=20 > $second_offset seconds"). The +/- must now be directly adjacent to =20= > the offset. > 2.) in config.inc.php -- $second_offset must be given a value, =20 > even if it just is set to '0'. > > > - Justin Kulikowski > [ http://www.jpk236.com ] > > > Nicolas Contamin wrote: >> On 12/15/05, Chad Little <ch...@ch...> wrote: >>> We use the bug reporting built into sourceforge, no need to mail us >>> here -- your report will be received by us there. There is a 5.1.1 >>> discussion on the website if you'd like to read more. >>> >> It seems that more and more people is swithcing to php 5.1.1 :-( >> So I've made the change >> * in 'date_function.php', by adding 'twoChar2Day()' >> * and changing calls in 'ical_parser.php' >> Can someone put this >> (http://eidolon.univ-lyon2.fr/~nicoconta/diff_files/php511.diff.tgz) >> into CVS. or simply make the changes. >> Thanks. >> Danon'. >> Ps: I'll keep working on my loop bug >> ------------------------------------------------------- >> This SF.net email is sponsored by: Splunk Inc. Do you grep through =20= >> log files >> for problems? Stop! Download the new AJAX search engine that makes >> searching your log files as easy as surfing the web. DOWNLOAD =20 >> SPLUNK! >> http://ads.osdn.com/?ad_idv37&alloc_id=16865&op=3Dclick >> _______________________________________________ >> Phpicalendar-devel mailing list >> Php...@li... >> https://lists.sourceforge.net/lists/listinfo/phpicalendar-devel > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through =20 > log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD =20 > SPLUNK! > http://ads.osdn.com/?ad_id=3D7637&alloc_id=3D16865&op=3Dclick > _______________________________________________ > Phpicalendar-devel mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpicalendar-devel |