У меня есть фид элементов, отображаемых в ячейках таблицы, часть которых является датой/меткой времени в прошлом.
В Objective-C, как я могу выполнить форматирование их так же, как jquery.timeago плагин в Интернете?
То есть, принимая дату и выдавая такие вещи, как:
- 'только сейчас
- '2 минуты назад'
- '24 дней назад '
- 'месяц назад'