SEHumanizedTimeDiff icon indicating copy to clipboard operation
SEHumanizedTimeDiff copied to clipboard

Strange behaviour in iOS7

Open jvanlint opened this issue 11 years ago • 2 comments

Not sure if this is me but when using this sample code in your read me: myLabel.text = [[NSDate dateWithTimeIntervalSinceNow:-3600_24_2] stringWithHumanizedTimeDifference:NSDateHumanizedSuffixAgo withFullString:YES];

My label simply shows the name of the day (e.g.. "Friday") rather than "2 days ago."

Any ideas?

jvanlint avatar Sep 29 '13 08:09 jvanlint

I still can't get this to work. Saper are you there?

jvanlint avatar Dec 30 '13 01:12 jvanlint

Unfortunately, I ran into this same issue. This seems to be the culprit:

if (daysDiff > 0 && daysDiff <= 4) { return [dayFormatter stringFromDate:self]; }

RyanBertrand avatar Oct 04 '16 19:10 RyanBertrand