Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8310715
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T19:33:47+00:00 2026-06-08T19:33:47+00:00

This problem appears to be affecting a lot of objective-c developers working with custom

  • 0

This problem appears to be affecting a lot of objective-c developers working with custom built restful APIS — like here and here. On the backend we are using ISO 6801 dates, and I’ve had trouble getting a valid date when I pull objects down from the server. This is the date format we use, but NSDate can’t recognize it because the colon in the time zone offset:

1981-09-01T00:00:00-06:00

I’ve tried using this ISO6801 parser and unparser, which is included in the latest version of RestKit, but I can’t figure out how to successfully add it to the object mapping. How do I add a date formatter to a RestKit objectmapping? Can anyone provide a code sample of how to do this?

Here is my failed code. This is what I’m looking for and tried based on a google groups post, but it gives errors:

[mapping.dateFormatStrings addObject:[[MyISO8601DateFormatter] alloc] init]];

There’s a related answer on this post, but it is partly outdated and lacks a working example.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T19:33:49+00:00Added an answer on June 8, 2026 at 7:33 pm

    To add a date formatter you do this:

    [RKObjectMapping addDefaultDateFormatter: formatter];
    

    If that flavor doesn’t suit you, you can try some of the other options you will see there in the header file.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this problem, when I load my form, the validation messages appears in
I have this mysql tables I want to display with jqgrid. The problem appears
This is a really strange problem, that appears to be somewhat intermittent (although it
This problem is same as asked in here . Given a list of coins,
This problem appears on Chrome/Chromium (on Linux and Windows): when I use JQuery to
This problem appears to be intermittent, but I am not sure why exactly. When
This problem appears similar to other posts, it is not the same as any
This problem seems very simple to me, but I've been unable to fix it,
This problem is caused by my acknowledge of English and jQuery or maybe something
This problem has been bugging me for a long time. For example, the code

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.