marnusw/date-fns-tz
Complementary library for date-fns v2 adding IANA time zone support observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2888
- days_rel: n/a
- days_push: 610
- n_releases_24m: 0
Adoption not part of the score
1181 stars · 111 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A complementary library for date-fns v3 that adds IANA time zone support using the browser's Intl API, so no time zone data needs to be bundled. It provides helpers for formatting dates in arbitrary time zones, converting between zoned and UTC times, and parsing date strings from any time zone.
Use cases
- format a date in a specific IANA time zone regardless of system time zone
- convert a local time in one time zone to an equivalent UTC Date
- parse a date string that represents time in an arbitrary time zone
- get the UTC offset in milliseconds for a given time zone
- extend date-fns format tokens with time zone tokens like z and zzzz
- display event times to users in different time zones without bundling tz data
When to choose
- you already use date-fns and need time zone support
- you want zero bundled time zone data by relying on the Intl API
- you need to format, convert, or parse dates across IANA time zones in JavaScript
When to avoid
- you don't use date-fns and want a standalone date/time library
- you must support very old environments without Intl API and cannot use a polyfill
- you need offline time zone database rules beyond Intl's capabilities
Facets
library · maturity stable
date-time serialization developer-tools developer-tools web-development cross-platform browser cross-platform date-fns timezone iana intl-api date-formatting date-parsing javascript nodejs
2 sources
- readme: https://github.com/marnusw/date-fns-tz · fetched 2026-08-28 · 3406d69ee2a7
- registry_npm: https://registry.npmjs.org/date-fns-tz · fetched 2026-08-29 · c0d546cfba9f
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| marnusw/date-fns-tz | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="marnusw/date-fns-tz")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem