Re: Problem with %z in NSTimestampFormatter

2015-07-23 Thread Ken Anderson
He needs the - in there, since it’s GMT -4 hours… > On Jul 23, 2015, at 11:48 AM, Gavin Eadie wrote: > >> On Jul 22, 2015, at 10:47 AM, Pascal Robert wrote: >> >> %S%z > > %S-%z ? > ___ > Do not post admin requests to the list. They will be ignored.

Re: Problem with %z in NSTimestampFormatter

2015-07-23 Thread Gavin Eadie
> On Jul 22, 2015, at 10:47 AM, Pascal Robert wrote: > > %S%z %S-%z ? ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https:

Re: Problem with %z in NSTimestampFormatter

2015-07-22 Thread Pascal Robert
; pattern = %Y-%m-%dT%H:%M:%S%z > Value: "2015-07-22T08:43:43-0400" - Mail original - De: "Chuck Hill" À: "Pascal Robert" , "WebObjects-Dev List" Envoyé: Mercredi 22 Juillet 2015 10:39:32 Objet: Re: Problem with %z in NSTimestampFormatter He l

Re: Problem with %z in NSTimestampFormatter

2015-07-22 Thread Chuck Hill
He lives! Hi Pascal! Where is the exception thrown from? Do you have a stack trace? Chuck On 2015-07-22, 7:32 AM, "webobjects-dev-bounces+chill=gevityinc@lists.apple.com on behalf of Pascal Robert" wrote: >Hi, > >Yes, I'm still alive. Anyway, I'm trying to build a small REST app as a >pro

Problem with %z in NSTimestampFormatter

2015-07-22 Thread Pascal Robert
Hi, Yes, I'm still alive. Anyway, I'm trying to build a small REST app as a prototype, and I need to parse a date that have this format: 2015-07-22T08:43:43-0400 So I did: protected ERXRestContext createRestContext() { ERXRestContext restContext = new ERXRestContext(editingContext());