Re: Two digit dates with NSDateFormatter

2009-10-08 Thread Andreas Mayer
Am 08.10.2009 um 15:07 Uhr schrieb Matthew Lindfield Seager: Am I missing something obvious? Is this a bug? No idea. This works for me: - (IBAction)convertTextToDate:(id)sender { NSDateFormatter *formatter = [[NSDateFormatter alloc] init]; [formatter setLocale:[NSLocale curre

Re: Two digit dates with NSDateFormatter

2009-10-08 Thread Matthew Lindfield Seager
> > I have a 10.4 style date formatter applied to an NSTextFieldCell. I > call setTwoDigitStartDate: (tried with both the epoch date and the > "reference" date) but when I type a date with a two digit year in it sets > the year to 0009 instead of 2009. Am I missing something obvious? I've conclud