Skip to content

Instantly share code, notes, and snippets.

@between40and2
Created December 27, 2013 08:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save between40and2/8144112 to your computer and use it in GitHub Desktop.
Save between40and2/8144112 to your computer and use it in GitHub Desktop.
ISO 8601. iOS, Rails
I am developing for iOS and RoR. For date time issue, I feel lucky, since both works with ISO 8601.
By default, Rails 4 returns ISO 8601 format as json output.
On iOS, you should have date format as @"yyyy-MM-dd'T'HH:mm:ssZZZ"
See http://developer.github.com/v3/ (search "ISO")
http://en.wikipedia.org/wiki/ISO_8601
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment