Ported relative date calculation fixes from Android to iOS
Merge pull request #197 from chuckbjones/195-fix-relative-dates

Ported relative date calculation fixes from Android to iOS. Closes #195