Iphone - Displaying NSDate values in the debugger with local timezone

Posted by Oliver on Stack Overflow See other posts from Stack Overflow or by Oliver
Published on 2010-12-29T11:53:20Z Indexed on 2010/12/29 15:54 UTC
Read the original article Hit count: 268

Filed under:
|
|
|
|

Hello,

I'm trying to debug my app and there is something very annoying in the debugger : all the NSDate values are displayed in the GMT timezone.

So in my debugging process, I lose a lot of time converting by myself all the displayed dates to check if they are correct in the system timezone. As I have a lot of dates at midnight, even the day is displayed "wrong". It's a nightmare.

Is there a way to make the debugger display the NSDate values in the iPhone system timezone (not the MacOS one nor GMT) ?

I'm at GMT+1

Thank you for your help.

© Stack Overflow or respective owner

Related posts about iphone

Related posts about timezone