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());
restContext.setUserInfoForKey("%Y-%m-%d'T'%H:%M:%S%z",
"er.rest.timestampFormat");
return restContext;
}
But I get an exception saying it's an illegal format. The problem is %z, if I
remove that part, it works (as long as I remove -0400 from the date). It this a
bug specific to WO 5.4 ??
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]