Hey Rob, thanks for the reply. Unfortunately
On 13 Jul., 18:41, Rob Booth <
rob.o.bo...@gmail.com> wrote:
> I've run into this in the past, before using RestKit, but I just
> tested the format string I was using in the past and this works:
> [mapping.dateFormatStrings addObject:@"yyyy-MM-dd HH:mm:ss'Z'"]; The
> issue I'm running into with dates is that I need to include the
> timezone of the dateformatter.
>
> NSDateFormatter* dateFormatter = [[[NSDateFormatter alloc] init] autorelease];
> [dateFormatter setTimeZone:[NSTimeZone timeZoneWithAbbreviation:@"UTC"]];
> [dateFormatter setDateFormat:@"yyyy-MM-dd HH:mm:ss'Z'"];
> [mapping.dateFormatters addObject:dateFormatter];
>
> Rob
>
> I'd love to be able to just give RestKit an array of date formatters
> for it to use instead of an array of strings.
>
> On Wed, Jul 13, 2011 at 8:16 AM, Dennis Schmidt
>
>
>
>
>
>
>