NSDateFormatter and \n
NSDateFormatter and \n
- Subject: NSDateFormatter and \n
- From: Stéphane Sudre <email@hidden>
- Date: Thu, 31 May 2001 16:51:41 +0200
I'd like to have a NSDateFormatter which would produce the following
kind of result when linked to a NSTextField:
05/31/01
03:04 PM
What I can do easily is : 05/31/01 03:04 PM .
But my attempt to make it understand the \r or \n characters failed. Is
it something the NSDateFormatter doesn't support ?
I can have a Workaround pretty easily by getting the NSString * of the
NSTextField and inserting a \n inside and then setting back the
NSString * to the NSTextField but it could be interesting to get this in
the Formatter.