Author Topic: Dates Not Appearing With UV Index  (Read 988 times)

0 Members and 1 Guest are viewing this topic.

Offline Bunty

  • Forecaster
  • *****
  • Posts: 2481
  • Stillwater, home of Oklahoma State University
    • Welcome to Stillwater Weather
Dates Not Appearing With UV Index
« on: December 10, 2012, 02:34:04 AM »
Can someone explain why the dates with the UV index are not appearing here:  http://stillwaterweather.com/uv.php

Also the 2nd home page using modified AltDashboard 6.95 at http://stillwaterweather.com/2ndhome.php

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9719
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Dates Not Appearing With UV Index
« Reply #1 on: December 10, 2012, 09:50:42 AM »
Sure.. in get-UV-forecast-inc.php, you're currently missing a $dateOnlyFormat spec
Code: [Select]
  $commaDecimal = false;     // =true to use comma as decimal point in UVfcstUVI
  $dateOnlyFormat = 'd M Y'; // dd MON YYYY

Add that and the dates should appear again :)

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 Bunty

  • Forecaster
  • *****
  • Posts: 2481
  • Stillwater, home of Oklahoma State University
    • Welcome to Stillwater Weather
Re: Dates Not Appearing With UV Index
« Reply #2 on: December 10, 2012, 01:42:46 PM »
Okay, doing that worked.  Thanks!

Also the 2nd home page using modified AltDashboard 6.95 at http://stillwaterweather.com/2ndhome.php

 

anything