soffes / ssdatakit

Eliminate your Core Data boilerplate code
MIT License
453 stars 57 forks source link

-parseDate: not parsing valid ISO 8601 format from Rails #35

Closed mwhuss closed 10 years ago

mwhuss commented 10 years ago

Just ran into this issue and wanted to get an issue started, PR coming soon.

Method: DateTime.now.utc.to_s Format: 2014-09-11T20:58:54+00:00

An offset of zero, in addition to having the special representation "Z", can also be stated numerically as "+00:00", "+0000", or "+00".

Hits this condition in SSRemoteManagedObject and method is like

amoslanka commented 10 years ago

FWIW, DateTime.now.utc.to_json and DateTime.now.utc.iso8601 also render the same string.

soffes commented 10 years ago

Switch to ISO8601

mwhuss commented 10 years ago

Any reason SSDataKit isn't using this already?

On Thursday, September 11, 2014, Sam Soffes notifications@github.com wrote:

Switch to ISO8601 https://github.com/soffes/iso8601

— Reply to this email directly or view it on GitHub https://github.com/soffes/ssdatakit/issues/35#issuecomment-55358699.

Marshall http://nezumiapp.com

soffes commented 10 years ago

Closed by d4a7c7199104a554e3d852c3d148a46d75be0e5c