[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: NSCalendar Issue
From: |
Richard Frith-Macdonald |
Subject: |
Re: NSCalendar Issue |
Date: |
Thu, 24 Jan 2013 09:17:06 +0000 |
On 22 Jan 2013, at 14:23, Stefan Bidi wrote:
> It is entirely possible that NSCalendar is buggy. I wrote this code 2
> or 3 years ago and it has been relatively untested since then.
>
> I just took a quick look at the code and it seems there is no test for
> the year in -dateFromComponents:. This explains why the year isn't
> being picked up. I won't have time to look into this until tonight,
Thanks, I added that fix in svn trunk, along with a similar one for
-dateByAddingComponents:toDate:options: