Safely removing elements from NSDateFormatter
Safely removing elements from NSDateFormatter
- Subject: Safely removing elements from NSDateFormatter
- From: Nick Zitzmann <email@hidden>
- Date: Mon, 25 Sep 2006 20:08:06 -0600
Has anyone ever come up with a foolproof method of removing certain
elements from a Tiger-style NSDateFormatter that does not remove
essential characters to interpreting the output? If so, then how did
you do this?
For example, if given a full style NSDateFormatter, I'd like to
remove the day from the formatter and any characters associated with
the day (e.g. the comma immediately following the day in the US date
format, or the day character in the Chinese date format), but without
causing any collateral damage by removing unrelated characters (e.g.
the month character in the Chinese date format, or other misc.
characters in the user's date format).
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden