vercel

little-date

A friendly formatter to make date ranges small & sweet

by vercel

TypeScript

TypeScript100%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

2 of 6 standards met

Community profile →
50
✓README✓License○Contributing○Code of Conduct○Issue Template○PR Template

Recent PRs & issues

Quiet · 4 in progress · Last activity 11mo ago
See all on GitHub →
fxamauri

Hello guys, I made the changes to allow passing the locale in the format calls, and I think this might resolve #6 . I hope this helps! I'm available for any further adjustments if needed.

fxamauri · 1y ago
Keith-Web3

I couldn't find any linked page to the repo. It would be nice if there was a dedicated page that shows examples of the different date pickers.

Keith-Web3 · 2y ago
franciscop

Just a small suggestion, feel free to close/cancel! Unfortunately there was no way to keep the table format as it was with these huge links. PS, would be happy to link to the rest of places, I was just a bit confused about the "special cases" and thus only linked those.

franciscop · 5mo ago
madatbay

Issue description Passing locale to the formatDateRange function only localizes time part of the range, date part remains in english. As a note. I'm also using with its localization, works good. Version: Recreate the bug: Insights After checking source code of the , i've found out that locale that passed into is only used for time formatting () and default function is used from . Locale needs to be passed to function too. At least, that's how I solved by modifying code locally.

madatbay · 2y ago
Structured data for AI agents

Repository: vercel/little-date. Description: A friendly formatter to make date ranges small & sweet Stars: 1968, Forks: 22. Primary language: TypeScript. Languages: TypeScript (100%). License: MIT. Latest release: v1.2.1 (11mo ago). Open PRs: 4, open issues: 4. Last activity: 11mo ago. Community health: 50%. Top contributors: timolins, hood, eltociear, feugy.