boredzo / iso-8601-date-formatter

A Cocoa NSFormatter subclass to convert dates to and from ISO-8601-formatted strings. Supports calendar, week, and ordinal formats.
http://boredzo.org/iso8601dateformatter/
Other
600 stars 140 forks source link

Use the nanosecond property of NSDateComponents #62

Open boredzo opened 8 years ago

boredzo commented 8 years ago

Since 10.7, NSDateComponents has a nanosecond property. This would likely be friendlier to clients than the existing fractionOfSecond out-parameter.