ISO8601
ISO8601 copied to clipboard
ISO8601 date parser and writer
This library is great! One question: can NSDate `-ISO8601String` ever be nil? It's marked `__nullable`, but I'm not sure I understand why. It calls `-ISO8601StringWithTimeZone` (also `__nullable`), which in turn...
- With this pull request milliseconds supported by reading and writing dates. I use Swagger-codegen for a project and its using your useful library and at some point I need...
Allows up to six decimal points (microseconds) in the format: `yyyy-MM-dd'T'HH:mm:ss.SSSSSSZ` Adds a new method to the `NSDate` category, `ISO8601StringWithTimeZone:usingCalendar:includeMicroseconds:`, which defaults to `NO` for backwards compatibility, but should perhaps...
It's unsafe to adjust the shared reference `[NSCalendar currentCalendar]` without copying it. This also ensures changing locales does not affect how ISO dates get formatted, which we had come up...
Hi Sam, I made an ISO8601 here https://github.com/onmyway133/ISO8601, and my post is here http://stackoverflow.com/questions/16254575/how-do-i-get-iso-8601-date-in-ios/37082414#37082414 Actually, I see that we can convert it back to basic form, then use Apple built...
file: NSDate+ISO8601.m if (timeZone) { *timeZone = components.timeZone ? components.timeZone : UTCTimeZone; } // Use a UTC calendar to generate the date calendar.timeZone = UTCTimeZone; why not calendar use timeZone?...
This fixes an issue in which the timezone offset is derived from the current date rather than the date being operated on.
Probably only merge this after Xcode 7.1 comes out.