Odd behavior of [NSDateFormatter dateFromString] with short years?

2009-11-03 Thread marc hoffman
Hi, im running into some very odd behavior when using a ShortStyle date formatter for entering dates, and using single vs double digit year numbers. typing the year as either 2009 or 09 works as expected, but typing it as 9 not only does *not adjust the century, but also produces what

Re: Odd behavior of [NSDateFormatter dateFromString] with short years?

2009-11-03 Thread Hank Heijink (Mailinglists)
On Nov 3, 2009, at 10:06 AM, marc hoffman wrote: Hi, im running into some very odd behavior when using a ShortStyle date formatter for entering dates, and using single vs double digit year numbers. typing the year as either 2009 or 09 works as expected, but typing it as 9 not only does