Re: NSLog displays inconsistent format for NSDate

2019-08-20 Thread Gary L. Wade via Cocoa-dev
If you want to output a date in a predictable format, you should use a date formatter. When I ran a sample app under the simulator for tvOS 13 in Xcode 11 beta 5, I got these results for the specified locales: 2019-08-20 19:51:05.637667-0700 TestDateDescription[32894:2579867] ar_AE: The date

NSLog displays inconsistent format for NSDate

2019-08-20 Thread Carl Hoefs via Cocoa-dev
When printing out an NSDate using NSLog from within Xcode I get: "Tue Aug 20 12:32:40 2019" When the same program is run from within a shell (bash) window: "2019-08-20 19:32:48 +" Is the NSDate output format somehow determined by the environment? My system is set to Local Time Zone