While working with NSDate, sometimes the time zones are different. But I don’t mess around with locales or time zone settings at all.
i.e. sometimes (in the same process) an NSDate object may look like
1.4.2010 22:01:47 +0100
and sometimes like
1.4.2010 22:01:47 +0200
without me doing anything. What triggers the change in time zone? I think that calendaric calculations (i.e. adding 5 months to a date) should not do that, right?
It is adjusting for daylight savings time. On my machine:
outputs
This is just a display formatting thing that happens on the (hidden) call to
[date description].