Page 1 of 1

JSON time stamps exactly three years out

Posted: Sun 29 Apr 2018 6:48 pm
by gw4bvy
This may be self inflicted as I have recently had to edit datafiles due to a Vantage Vue wobbly.
But while everything else now works again, the Daily Temp and Daily Rain Graphs are incorrect. Irrespective of the number of days chosen in settings, both graphs show all of the station data ( now 11 months worth ) and the X axis reads Jan 20 to Dec 20.
I have looked at the data in the dailyrain.json and dailtytemp.json files and the time stamps are all exactly three years (large number of milliseconds) in the future.
As these files are automatically produced, there is obviously something causing this time offset. Any ideas/ suggestions would be welcomed!
TIA
Roger

Re: JSON time stamps exactly three years out

Posted: Sun 29 Apr 2018 7:28 pm
by steve
My guess would be that in editing the data file(sj you have changed the format of the dates from the expected format (dd/mm/yy), possibly as a result of using something like Excel to do the editing.

Re: JSON time stamps exactly three years out

Posted: Mon 30 Apr 2018 8:04 am
by gw4bvy
Hi Steve
Thanks for the prompt reply. Correct !! On investigation the format of the dates in the dayfile.txt file had been changed by Excel to dd/mm/yyyy,
Brilliant - I could have spent the rest of my life trying to spot this one.
Thanks again
Roger