Peter Hosey

2pods

Community Impact

Average
quality
6,631apps touched
2,065,272combined downloads
627stargazers
875lines of code

ISO8601DateFormatter

TL;DR: You want to use ISO 8601 for any and all dates you send or receive over the internet, unless the spec for the protocol or format you’re working with specifically tells you otherwise. See http://xkcd.com/1179/ .

ISO 8601 is most recognizable as “year-month-date” (a.k.a. “calendar date”) strings, such as “2013-09-08T15:06:11-0800”. Of course, as you might expect of a formal standard, it’s more sophisticated (some might say complicated) than that: it also provides “week date” and “ordinal date” formats.

This formatter can both parse and unparse dates in all three ISO 8601 formats. (By “unparse”, I mean “produce a string from”—the reverse of parsing.)

License: BSD

  • 598 Stars
  • Great Tests
  • Great Docs
  • Objective C

VerbalExpressions-for-Objective-C

This is an Objective-C implementation of @jehna's VerbalExpressions project. This is an original implementation; I have copied only the method names, nothing more.

License: MIT

  • 29 Stars
  • No Tests
  • No Docs
  • Objective C