DateTime Parsing with MagicalRecord & Date

My server provides dates as UTC in the format "yyyy-MM-dd'T'HH: mm: ss'Z", for example. midnight November 15th for MST - "2013-11-15T07: 00: 00Z". This format is the documented default for MagicalRecord, but my imported NSManagedObjects get OTHER 7 hours added to them (NSLog shows "2013-11-15 14:00:00 +0000"), which I can only assume that the assumption is MR that the time zone was actually local, and then shifted it to the local date of my device in UTC during import. How can i stop this? My server does not return the date in the appropriate format?

+4
source share
1 answer

https://github.com/magicalpanda/MagicalRecord/issues/484

MagicalRecord has an error handling Z, but it seems that the request to receive the request with an error has been approved.

+2
source

All Articles