title: Yahoo weather API, randomly returns old data?
body: <p>I started using Yahoo's free weather API to get the weather data I need, but it seems each time I request a city weather data there is a chance that either I get updated data or old data from back to 1 to 8 days.</p>
  
  <p>Here is a simple URL which I make my request with:
  <a href="http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20weather.forecast%20where%20woeid%20in%20%28select%20woeid%20from%20geo.places%281%29%20where%20text%3D%22New%20York%22%29&amp;format=json" rel="nofollow">Click here to see a sample request</a></p>
  
  <p>The YQL query is simple, which requests the weather data for New York city:</p>
  
  <pre><code>select * from weather.forecast where woeid in (select woeid from geo.places(1) where text="New York")
  </code></pre>
  
  <p>But each time I refresh that URL, I might get a completely different result. for example I did refresh it right now a couple times (Now is 13th of November 2015, around 22:45 GMT time) and here are some results I got in the <code>query.results.channel.item.condition.date</code> part:</p>
  
  <pre><code>"date":"Fri, 13 Nov 2015 4:49 pm EST"
  "date":"Thu, 12 Nov 2015 2:13 am EST"
  "date":"Wed, 11 Nov 2015 1:49 am EST"
  "date":"Fri, 13 Nov 2015 1:49 am EST"
  </code></pre>
  
  <p>This is very wired, how am I supposed to get current weather data like this when the API returns weather data for random dates each time I make a request?</p>
  
  <p>Am I doing something wrong or missing something here?</p>
  
  <p><strong>Notes:</strong></p>
  
  <ul>
  <li>This behavior is same for many different cities which I tried.</li>
  <li><del>Using same query in YQL Console doesn't seem to be having same problem. (<a href="https://developer.yahoo.com/yql/console/" rel="nofollow">YQL Console</a>)</del> (<strong>Actually same problem has been spotted there too</strong>)</li>
  <li>Same thing is also happening on this XML/RSS request method as well: <a href="http://weather.yahooapis.com/forecastrss?w=2459115" rel="nofollow">http://weather.yahooapis.com/forecastrss?w=2459115</a></li>
  </ul>
  
  <p><strong>Updates:</strong></p>
  
  <ul>
  <li>I did come across a case which returned me data from 8 days back!</li>
  <li>Using SORT functions of YQL doesn't fix the problem, since the sort is applied after selecting requested record/records.</li>
  <li><h3>Today (25th of November 2015), I have tried more than 20 refreshes and seems the data returning is always correct, it seems the problem is fixed.</h3></li>
  <li><h3>On 26th of November 2015 Yahoo announced that the problem is fixed: Thanks for your feedback. This issue has been fixed. Please check out the site again. If you are still having this problem, please post a new idea on this forum.</h3></li>
  </ul>