On Jan 19, 2012, at 7:41 AM, Gerriet M. Denkmann wrote:
I want to print a date on iOS 5.0.1 ignoring the locale.
(this is for logging - not for showing strings to users)
I assume that NSDate has no sufficient parameters to control the output.
So I tried to use NSDateFormatter.
The
On Jan 18, 2012, at 10:41 PM, Gerriet M. Denkmann gerr...@mdenkmann.de
wrote:
The desired output is something like:
NSString *template = @HH:mm:ss EEE dd. MMM zzz;
NSString *dateFormat = [ NSDateFormatter dateFormatFromTemplate: template
options: 0 locale: nil ];
NSDateFormatter
On Jan 19, 2012, at 2:39 AM, cocoa-dev-requ...@lists.apple.com wrote:
Date: Thu, 19 Jan 2012 13:41:54 +0700
From: Gerriet M. Denkmann gerr...@mdenkmann.de
Subject: Printing an NSDate
To: cocoa-dev@lists.apple.com
Message-ID: cd59692a-8452-4d4b-ad12-e49636f8d...@mdenkmann.de
Content-Type
I want to print a date on iOS 5.0.1 ignoring the locale.
(this is for logging - not for showing strings to users)
I assume that NSDate has no sufficient parameters to control the output.
So I tried to use NSDateFormatter.
The desired output is something like:
NSString *template = @HH:mm:ss EEE