Re: NSDateFormatter problem

2012-04-24 Thread Lorenzo Thurman
"My Break-Dancing days are over, but there's always the Funky Chicken" -- The Full Monty On Apr 20, 2012, at 3:47 PM, Keary Suska wrote: > > On Apr 20, 2012, at 12:16 PM, Lorenzo Thurman wrote: > >> I agree. This should not happen, but here is my original code: >> -(NSString*)formattedDate:

Re: NSDateFormatter problem

2012-04-24 Thread Lorenzo Thurman
On Apr 20, 2012, at 11:30 AM, Charles Srstka wrote: > On Apr 20, 2012, at 9:32 AM, Keary Suska wrote: > >>> Is there a way to reset the Language and Text Preferences? Is there an >>> associated Preferences I can throw away? >> >> I think it is part of com.apple.systempreferences.plist in >> ~

Re: NSDateFormatter problem

2012-04-24 Thread Keary Suska
On Apr 20, 2012, at 12:16 PM, Lorenzo Thurman wrote: > I agree. This should not happen, but here is my original code: > -(NSString*)formattedDate:(NSDate*)aDate{ > > NSDateFormatter * formatter = [[NSDateFormatter alloc] init]; > [formatter setDateFormat:@"mm-dd- hh

Re: NSDateFormatter problem

2012-04-24 Thread Lorenzo Thurman
On Apr 20, 2012, at 11:30 AM, Charles Srstka wrote: > On Apr 20, 2012, at 9:32 AM, Keary Suska wrote: > >>> Is there a way to reset the Language and Text Preferences? Is there an >>> associated Preferences I can throw away? >> >> I think it is part of com.apple.systempreferences.plist in >> ~

Re: NSDateFormatter problem

2012-04-24 Thread Lorenzo Thurman
On Apr 20, 2012, at 9:32 AM, Keary Suska wrote: > On Apr 20, 2012, at 6:08 AM, Lorenzo Thurman wrote: > >> On Apr 19, 2012, at 10:18 PM, Keary Suska wrote: >> >>> >>> Perhaps this excerpt from the API doc is key: "Do not use these constants >>> if you want an exact format." Why, might be acad

Re: NSDateFormatter problem

2012-04-24 Thread Lorenzo Thurman
On Apr 20, 2012, at 9:32 AM, Keary Suska wrote: > On Apr 20, 2012, at 6:08 AM, Lorenzo Thurman wrote: > >> On Apr 19, 2012, at 10:18 PM, Keary Suska wrote: >> >>> >>> Perhaps this excerpt from the API doc is key: "Do not use these constants >>> if you want an exact format." Why, might be acad

Re: NSDateFormatter problem

2012-04-20 Thread Charles Srstka
On Apr 20, 2012, at 9:32 AM, Keary Suska wrote: >> Is there a way to reset the Language and Text Preferences? Is there an >> associated Preferences I can throw away? > > I think it is part of com.apple.systempreferences.plist in > ~/Library/Preferences. You can test that by dragging it to the d

Re: NSDateFormatter problem

2012-04-20 Thread Keary Suska
On Apr 20, 2012, at 6:08 AM, Lorenzo Thurman wrote: > On Apr 19, 2012, at 10:18 PM, Keary Suska wrote: > >> >> Perhaps this excerpt from the API doc is key: "Do not use these constants if >> you want an exact format." Why, might be academic, but if you require a >> specific style, you may want