# vercel/little-date

A friendly formatter to make date ranges small & sweet

Repository: https://github.com/vercel/little-date
Canonical: https://ross.abutalabs.com/products/little-date
Language: TypeScript
License: MIT
License Family: permissive
Last push: 2025-11-24T13:28:43+00:00

## Health v2 (maintenance only)
Score: 48/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 53, release rhythm 26, longevity 74
- inputs: {"age_days": 1049, "days_push": 282, "days_rel": 282, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1962, forks 21 (observed 2026-08-28T04:05:59.601225+00:00)

## What it is
little-date is a small TypeScript library for formatting date ranges into short, readable strings like 'Jan 1 - 12' or 'Q1 2023'. It is built on date-fns, supports localization, and runs in both Node.js and the browser.

## Use cases
- format date ranges compactly in a UI
- display event start and end dates without repetition
- show quarter or full-month ranges in dashboards
- localize short date range labels
- replace verbose toLocaleString date range output

## When to choose
- you need concise, human-friendly date range labels in a web or Node.js app
- you want an opinionated formatter on top of date-fns with localization support

## When to avoid
- you need full control over arbitrary date formats
- you need timezone conversion or date parsing/manipulation rather than formatting

## Facets
- artifact type: library
- maturity: active
- function: date-time, templating
- domain: web-development, frontend
- platform: browser, cross-platform
- tags: date-fns, date-range-formatting, typescript, ui-formatting, localization, nodejs

## Member repositories
- vercel/little-date (main) score 48

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:59.601225+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:05:36.473393+00:00, confidence not recorded.
  - readme: https://github.com/vercel/little-date (fetched 2026-08-28T04:05:59.601225+00:00, sha 442016254c3c)
  - registry_npm: https://registry.npmjs.org/little-date (fetched 2026-08-29T10:45:51.726754+00:00, sha 4482b25e7e66)
- Data as of 2026-08-30T08:39:29.467469+00:00.
