0

BUG: Weather API returns invalid dates

URL: http://weather.yahooapis.com/forecastrss?w=615702

What steps will reproduce the problem?
1. Get the weather feed for Paris while in Daylight Saving time
2. Parse the lastBuildDate according to RFC822 Section 5(http://www.rfc-editor.org/rfc/rfc822.txt)

What is the expected result?
The date string to be valid and the parse to be successful.

What happens instead?
The parse is unsuccessful. The response uses timezones that are not in the RFC. In this example the timezone "CEST" is returned. According to the spec it should be "+0200" as CEST is not in the named timezones list.

by
0 Replies

Recent Posts

in General Discussion at YDN