that might be smart, there _are_ standard date formats...sigh, date formats are always at least a little bit of trouble---
I figured plist would adopt standard unix style date or at least nsdate would read it easily enough, so I still think I'm missing something... the binary plist sounds like a better, more compact transport encoding if I know I have an iphone on the other end. does one simply use an NSData rep instead of NSString? On Dec 18, 2010, at 12:11 PM, Mike Schrag wrote: > I think we need object replacement delegates on formats or something where > you can swap out an object for another object so you can put your own > rendering of a date in ... > > On Dec 18, 2010, at 12:04 PM, Jesse Tayler wrote: > >> well then! Why don't _I_ switch to binary plist! >> >> sounds smaller and better! >> >> how might I then switch to a binary plist format? >> >> On Dec 18, 2010, at 11:33 AM, David LeBer wrote: >> >>> >>> On 2010-12-17, at 11:15 PM, Jesse Tayler wrote: >>> >>>> >>>> Downloading plist format, I get dates formatted with this funky Etc/GMT >>>> timezone, so I try to get a date from the string >>>> >>>> "2010-12-16 19:25:42 Etc/GMT"; >>>> >>>> I try a few formats like this or that, fish around and either I'm missing >>>> something or somebody's got a dateformat out there which they use when >>>> transferring plist format? >>>> >>>> @"yyyy-MM-dd HH:mm:ss' ZZZZ" >>>> >>>> Anyone got an incantation on that? >>> >>> I punted and manually replaced the ZZZZ with something I could format. >>> >>> Then I switched to binary plist which are type aware so you get dates from >>> dates, instead of strings. >>> >>> ;david >>> >>> -- >>> David LeBer >>> Codeferous Software >>> 'co-def-er-ous' adj. Literally 'code-bearing' >>> site: http://codeferous.com >>> blog: http://davidleber.net >>> profile: http://www.linkedin.com/in/davidleber >>> twitter: http://twitter.com/rebeld >>> -- >>> Toronto Area Cocoa / WebObjects developers group: >>> http://tacow.org >>> >>> >>> >>> >>> >> >> _______________________________________________ >> Do not post admin requests to the list. They will be ignored. >> Webobjects-dev mailing list ([email protected]) >> Help/Unsubscribe/Update your Subscription: >> http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40pobox.com >> >> This email sent to [email protected] > > _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
