Trixology

WeatherCat => WeatherCat Web Templates => Topic started by: Randall75 on November 28, 2019, 03:57:30 PM

Title: Sunrise and Sunset templete HELP
Post by: Randall75 on November 28, 2019, 03:57:30 PM
Hi WeatherCaters
 1st Happy Thanksgiving
Now for the problem:
Can't get the Sunrise SUNRISELOCAL$ and Sunset SUNSETLOCAL$ to work correctly on my website anymore.
Is anyone else using this and if so is it working OK for you
Or can someone tell me how to correct it
Sunrise is saying 8:09 PM and Sunset is saying 6:32 AM
I remove it from my web page until I can get it corrected
thanks for any help


cheers [cheers1]

Title: Re: Sunrise and Sunset templete HELP
Post by: xairbusdriver on November 28, 2019, 05:19:23 PM
I'm just using the SUNRISELOCAL$ and SUNSETLOCAL$ WC tags in an html page that is parsed by the app every 2 minutes. For example:
Quote
<?php echo "<td class='left'>".strtolower('SUNSETLOCAL$'); ?>
PHP on the server then formats it as I want.

Only thing I can suggest is to be sure your computer is updating the time properly. System Prefs/Dat & Time->Date & Time tab:"Set date and time automatically:".
Perhaps also double-check your Lat-Long location. I don't see any place to set the offset from UTC in WC. [banghead]