0

For some time now whenever I want to print NSDate with po in XCode's debugger instead of a full datetime format like this

2012-02-15 18:55:00 +0000

I'm getting something like this

February 15, 2012

which makes it really hard to work with. I can't really remember changing any settings related to date/time format neither in system preferences nor XCode itself, so I'm a bit puzzled.

Looking forward to getting any hint. Thanks.

jahsiotr
  • 141
  • 1
  • 11

1 Answers1

0

lldb only calls the debugDescription method

so override debugDescription...

you can do that in a category for debugging

Daij-Djan
  • 49,552
  • 17
  • 113
  • 135