I noticed that you use the time so:
Code: Select all
// Datetime of the weather information. All dates appear to be EDT.
Do you think we could optionally reformat the time to, say, GMT so that we could call a local time?
If not I might try to get round to extending the class, but it seems best to try and call it from inside the class.
Could it work something like this?
$ivw = new IVWeather($uvw,'UK');
If not I could try and make a JS function to reformat it on the client?