Author Topic: Cumulus Weather Data living in the future???  (Read 1360 times)

0 Members and 1 Guest are viewing this topic.

Offline mkutche

  • Forecaster
  • *****
  • Posts: 1043
    • GosportWx.com
Cumulus Weather Data living in the future???
« on: July 11, 2016, 08:32:37 AM »
Any idea why my weather station is in the future??? lol my desktop clock says july 10th, 2016 hmm

http://prntscr.com/brc1em
Mike K.
Davis Vantage Vue 6250 - CumulusMX (3.21.1-b3205)
Gosport, Indiana
Gosportwx.com twitter.com/GosportINWX
-----------------------------------------------------------

Offline ericfynne

  • Contributor
  • ***
  • Posts: 139
Re: Cumulus Weather Data living in the future???
« Reply #1 on: July 11, 2016, 09:19:38 AM »
Presumably because of a confusion somewhere between US and UK (etc) date formats. 
« Last Edit: July 11, 2016, 09:21:55 AM by ericfynne »

Online saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9278
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Cumulus Weather Data living in the future???
« Reply #2 on: July 11, 2016, 11:16:43 AM »
Your CUtags.php?sce=dump shows
Quote
$WX['date'] = '7/11/2016';
and your Settings.php has
Code: [Select]
$SITE['WDdateMDY'] = false; // for WD date format of month/day/year.  =false for day/month/year
so is expecting dd/mm/yyyy format.  Change that to
Code: [Select]
$SITE['WDdateMDY'] = true; // for WD date format of month/day/year.  =false for day/month/year
so the mm/dd/yyyy format of Cumulus tags can be parsed correctly and the wxstatus.php will stop showing the erroneous date.
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 mkutche

  • Forecaster
  • *****
  • Posts: 1043
    • GosportWx.com
Re: Cumulus Weather Data living in the future???
« Reply #3 on: July 11, 2016, 11:37:15 AM »
Your CUtags.php?sce=dump shows
Quote
$WX['date'] = '7/11/2016';
and your Settings.php has
Code: [Select]
$SITE['WDdateMDY'] = false; // for WD date format of month/day/year.  =false for day/month/year
so is expecting dd/mm/yyyy format.  Change that to
Code: [Select]
$SITE['WDdateMDY'] = true; // for WD date format of month/day/year.  =false for day/month/year
so the mm/dd/yyyy format of Cumulus tags can be parsed correctly and the wxstatus.php will stop showing the erroneous date.

thanks. I guess I thought it ment if I had weather display, so i set to false guess I should of read it better :P it was late when i was messing with it.. again thanks :)
Mike K.
Davis Vantage Vue 6250 - CumulusMX (3.21.1-b3205)
Gosport, Indiana
Gosportwx.com twitter.com/GosportINWX
-----------------------------------------------------------

 

anything