ushahidi / Ushahidi_iPhone

http://www.ushahidi.com and https://wiki.ushahidi.com/display/forums/Ushahidi+Forums
GNU Lesser General Public License v3.0
125 stars 58 forks source link

Bug Parsing Report Date #68

Closed dalezak closed 11 years ago

dalezak commented 11 years ago

When parsing the date from the API, the category NSDictionary+USH is using YYYY-MM-dd HH:mm:ss time format but should have been using yyyy-MM-dd HH:mm:ss instead.

"A common mistake is to use YYYY. yyyy specifies the calendar year whereas YYYY specifies the year (of “Week of Year”), used in the ISO year-week calendar. In most cases, yyyy and YYYY yield the same number, however they may be different. Typically you should use the calendar year."