wordpress-mobile/WordPress-iOS — pull request #1823 by garza (2014-06-10 14:51:10+00:00)
Title: Issues/1713 calculates states based on site timezone

Fixes #1713

Changes init signature for WPStatsService to include the blog.options NSDictionary so we can eventually parse the site's timezone in WPStatsService's retrieveStatsWithCompletionHandler method. Added a strong property in the implementation to hold this dictionary in init.

Changes method signature for WPStatsServiceRemote's fetchStatsForTodayDate by adding NSTimeZone to correctly set todayString and yesterdayString to the site's timezone before querying.