Re: Format of date in document data
Wim Lewis <[email protected]> Wed, 8 Feb 2012 11:12:58 -0800
| Newsgroups | gmane.comp.graphics.omnigraffle.user |
|---|---|
| Message-ID | <[email protected]> |
On 7 Feb 2012, at 2:10 AM, Chris Ridd wrote: > Are you really using strftime() format strings or (more likely) = Cocoa's > NSDate format strings? (I can't pin the documentation for the Cocoa = ones > down..) We originally used -[NSDate = descriptionWithCalendarFormat:timeZone:locale:], which takes = strftime-style format strings (I don't know if NSDate uses strftime = under the hood). Apple seems to have removed the detailed documentation = of this method, although the method itself is still around, but you can = find caches of it online by searching for "Date Format String Syntax = (Mac OS X Versions 10.0 to 10.3)". I don't know offhand if we're still using = -descriptionWithCalendarFormat:timeZone:locale: in OmniGraffle or if = we're translating the strftime-style date format into an ICU-style date = format internally for use with Apple's current APIs. (We do make that = translation sometimes.)