# kevinlawler/NSDate-TimeAgo

A "time ago", "time since", "relative date", or "fuzzy date" category for NSDate and iOS, Objective-C, Cocoa Touch, iPhone, iPad

Repository: https://github.com/kevinlawler/NSDate-TimeAgo
Canonical: https://ross.abutalabs.com/products/nsdate-timeago
Language: Objective-C
License: ISC
License Family: permissive
Archived: true
Last push: 2020-11-02T03:16:14+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 5408, "days_push": 2130, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1743, forks 312 (observed 2026-08-28T04:05:30.430820+00:00)

## What it is
An Objective-C category on NSDate for iOS/Cocoa Touch that renders relative, human-friendly timestamps like '5 minutes ago' or 'Yesterday'. It supports dozens of languages and has been merged into the DateTools project, with this repo kept only as an archive.

## Use cases
- display 'time ago' strings for feed timestamps in an iOS app
- show fuzzy relative dates like 'yesterday' or 'last month' in Objective-C
- localize relative time strings across many languages on iPhone/iPad
- format 'time since' labels for chat or social app messages
- convert NSDate values into human-readable elapsed-time text

## When to choose
- you maintain a legacy Objective-C iOS codebase already using it
- you want a tiny, dependency-light NSDate category with broad localization
- you are following the archived code for reference

## When to avoid
- you are starting a new project - use DateTools instead, which absorbed this project
- you need Swift-native APIs or active maintenance and support
- you need customizable output strings or precision options, which were never implemented

## Facets
- artifact type: library
- maturity: abandoned
- function: date-time, internationalization
- domain: mobile-development, developer-tools
- platform: -
- tags: objective-c, nsdate, relative-time, fuzzy-date, cocoa-touch, archived, carthage, cocoapods, localization, ios, swift, mobile

## Member repositories
- kevinlawler/NSDate-TimeAgo (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:30.430820+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:29:33.709293+00:00, confidence not recorded.
  - readme: https://github.com/kevinlawler/NSDate-TimeAgo (fetched 2026-08-28T04:05:30.430820+00:00, sha 332c6ebdcc7d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
