Re: Report Time in 2.2.0?
Brought to you by:
iridium
From: Phil P. <phi...@sw...> - 2004-01-03 00:54:00
|
After a little searching, I found where the 'decode the time from the METAR data' was *commented out* from decode_metar(). UnCommenting it returned the time decoded from the METAR itself. I'd still be interested to learn where (else/oherwise) it was getting time from, and why it was done that way. (I'm new to this, so maybe there's a good reason for it?) Thanks, PhilP Phil Pierotti wrote: > mmm , time passes, Sydney issues a new METAR report. > > The time displayed from PHPweather hasn't changed, (ie still showing > 'The report was made a moment ago, at 03:14 UTC. ') even though the raw > METAR data says 030000Z, and the other data in the displayed report are > updated. > > I'd be interested to hear someone explain why the text display of the > time of the report bears no relationship to the reality of the actual > METAR timestamp, and how/where in the code I can fix that. > > Thanks, > Phil P > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > PHPWeather-devel mailing list > PHP...@li... > https://lists.sourceforge.net/lists/listinfo/phpweather-devel > > |