RE: Re: Sun Rise / Set Problem
"Jeff Graves" <[email protected]>
| Newsgroups | gmane.comp.horde.jonah |
|---|---|
| Message-ID | <[email protected]> |
I assume that when you changed locations to Mexico, the results code fragment you added were different? Can you check the values returned by calcSunset? It seems kind of odd that it would always return 12:00:00 and 00:00:00 since it's a mathimatical function (you've probably already done this but is the date correct on your server?). And just so we're on the same page: * $Horde: jonah/lib/Block/sunrise.php,v 1.6 2003/02/08 12:06:04 jan Exp $ is what I'm using. Jeff Graves Customer Support Engineer Image Source, Inc. 10 Mill Street Bellingham, MA 02019 [email protected] - Email 508.966.5200 X31 - Phone 508.966.5170 - Fax -----Original Message----- From: [email protected] [mailto:[email protected]]On Behalf Of Ruben van der Steenhoven Sent: Tuesday, April 15, 2003 10:06 AM To: [email protected] Subject: [jonah] Re: Sun Rise / Set Problem I didn't do that in the config files. I just selected the nearest airport in the Block options of the sunset block. (This was of some help, because of your question i had to retrace my steps to find out that i COULD change the location without bothering other Horde components after all). Now i also tried some other locations like Mexico and Amsterdam, but with all the same results. I've added following code to the _content function of jonah/lib/Block/sunrise.php to find the values i mentioned: (BTW: That date format you mentioned is the tandard UNIX-internal date format.) -- Jonah mailing list Frequently Asked Questions: http://horde.org/faq/ To unsubscribe, mail: [email protected]