iso-8601-date-formatter
iso-8601-date-formatter copied to clipboard
A Cocoa NSFormatter subclass to convert dates to and from ISO-8601-formatted strings. Supports calendar, week, and ordinal formats.
On macOS 10.12 and iOS 10, Foundation has an NSISO8601DateFormatter class built in. It'd be cool if ISO8601DateFormatter wrapped that implementation when it's available, as an aid to clients who'd...
The top of ISO8601DateFormatter.m imports UIKit.h, but nothing from this framework ever seems to be used. It appears to have been added in a9b6973a, and all usages removed in 98bf9cb9.
This works: self.time = unboxer.unbox(key: "time", formatter: DateFormatter()) But this does not: self.time = unboxer.unbox(key: "time", formatter: ISO8601DateFormatter())
Here is crash log: 0 libdispatch.dylib 0x1d3191be _dispatch_semaphore_dispose + 80 (semaphore.c:69) 1 Foundation 0x1e510b20 -[NSDateFormatter dealloc] + 74 (NSDateFormatter.m:291) 2 libobjc.A.dylib 0x1cee9258 objc_object::sidetable_release(bool) + 238 (NSObject.mm:1591) 3 ISO8601DateFormatter 0x0117e522 -[ISO8601DateFormatter...
I'm updating my project to use Swift 3.0 and on 3.0 , `NSISO8601DateFormatter` becomes just `ISO8601DateFormatter`, which conflicts with this library. Unfortunately, using `ISO8601DateFormatter.ISO8601DateFormatter` doesn't help either (seems to be...
NSUndefinedDateComponent is deprecated from: - iOS 8 - OS X 10.10 - watchOS 2.0 NSDateComponentUndefined is available from: - iOS 7 - OS X 10.9 - watchOS 2.0 - tvOS...
Hey, your library is really interesting. The only problem I found was the `README.md`, which lacks an `Installation Section` I created this [iOS Open source Readme Template](https://github.com/awesome-labs/iOS-readme-template) so you can...
I am getting crash report from the wild that has the following stacktrace. ``` 0 ... libsystem_kernel.dylib __pthread_kill + 8 1 libsystem_c.dylib pthread_kill + 58 2 libsystem_c.dylib abort + 94...