Author Topic: date 01/01/1970 in all the icons Moon and Sun  (Read 2041 times)

0 Members and 1 Guest are viewing this topic.

Offline meteotajo

  • Member
  • *
  • Posts: 22
    • MeteoTajo
date 01/01/1970 in all the icons Moon and Sun
« on: August 29, 2008, 04:20:55 AM »
Hello…
Because it leaves this date 01/01/1970 in all the icons Moon and Sun. The Témplate of astronomy I have not varied anything and is like venia in the package of distribution.

I put as it well and the date that it indicates?



Thanks

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9288
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: date 01/01/1970 in all the icons Moon and Sun
« Reply #1 on: August 29, 2008, 11:24:09 AM »
Very simple to fix .. your WD is uploading the month names in Spanish, so you just need to put them in Settings.php to replace the English names in this section
Code: [Select]
# if your WD uploads almanac dates using a language OTHER THAN English, please put the month
# names in your language to replace the English ones below.  This is used primarily by the
# wxastronomy.php page for the local dates of moon phases, solistices, and equinoxes
$SITE['monthNames'] = array(  // for wxastronomy page .. replace with month names in your language
'January','February','March','April','May','June',
'July','August','September','October','November','December'
);

//$SITE['monthNames'] = array(  // Danish for wxastronomy page .. replace with month names in your language
//'januar','februar','marts','april','maj','juni',
//'juli','august','september','oktober','november','december'
//);

Best regards,
Ken
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline meteotajo

  • Member
  • *
  • Posts: 22
    • MeteoTajo
Re: date 01/01/1970 in all the icons Moon and Sun
« Reply #2 on: August 29, 2008, 11:50:09 AM »
Shamed, I ignore myself to me, I did not realize. it excuses, solved
Thanks, Ken

PS: As it is said in Spain…. Who knows, she knows

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9288
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: date 01/01/1970 in all the icons Moon and Sun
« Reply #3 on: August 29, 2008, 01:34:09 PM »
Glad I could help!  Enjoy your multilingual site.

Best regards,
Ken
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP