Re: How to get the time zone of a parsed date/time string?
Re: How to get the time zone of a parsed date/time string?
- Subject: Re: How to get the time zone of a parsed date/time string?
- From: Charles Srstka <email@hidden>
- Date: Sun, 03 Aug 2014 09:14:22 -0500
On Aug 2, 2014, at 11:57 PM, Shane Stanley <email@hidden> wrote:
> On 31 Jul 2014, at 8:27 am, Jens Alfke <email@hidden> wrote:
>
>> I want to avoid if possible a solution that involves manually scraping the string.
>
> NSDataDetector? NSTextCheckingTypeDate has a timeZone property.
NSDataDetector is probably better for detecting arbitrary date strings anyway. Doesn't NSDateFormatter expect you to specify the format the string will be in?
Charles
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden