Page 1 of 1

recordsbegandate?

Posted: Sun 14 Aug 2011 3:09 pm
by theweissguy
Where is the "recordsbegandate" tag content pulled from? My site http://weather.theweissguy.com keeps showing 08 July 2011 but my cumulus.ini file sets (attached) it at 13 July 2011. I'm using 1.92b1005.

Re: recordsbegandate?

Posted: Sun 14 Aug 2011 5:28 pm
by steve
It's taken from this:

StartDate=7/13/2011

but Cumulus gets Windows to parse the string and then reformat it to 13 July 2011, and the code hasn't changed for a long time. It requires Windows to understand the format of the StartDate string depending on the date formats it knows about on your system. When you first run Cumulus, it sets the string from the 'short date' format on your system. is it possible that you have changed your system date format since you first ran Cumulus?

But in any case, it's hard to see how it could come up with 8th July from that. Could you try stopping Cumulus, and editing cumulus.ini to change the line to

StartDate=07/13/2011

or whatever the short date format is on your system, if it's not m/dd/yyyy

Re: recordsbegandate?

Posted: Sun 14 Aug 2011 7:25 pm
by theweissguy
Short date on system (XP SP3) is mm/dd/yyyy. I changed start date in my cumulu.ini file from 7/13/2011 to 07/13/2011. and then restarted Cumulus. Problem persists: 08 July 2011 keeps coming up in cumuluswebtags.txttmp which feeds the display. This is very strange. I've searched for any possible 08 July string in my data and ini files but found none.

Re: recordsbegandate?

Posted: Sun 14 Aug 2011 8:51 pm
by theweissguy
PROBLEM SOLVED!! :o - My ini file was named cumulus.ini. Changed it to Cumulus.ini. All ok. Go figure -