# Spacetime: 5.2 out of 10

Reasonable, with limits. 6th of 10 in [Date and time libraries](https://elestia.ai/opensource/dates/index.md).

Spacetime is a small library with no dependencies for working with dates in other time zones. It has a friendly, Moment-like API. It ships its own simplified daylight-saving (DST) tables and keeps no historical rules, so it is less correct than Luxon, Day.js or the Temporal polyfills, which rely on the platform's IANA data. It is a reasonable pick for light, user-facing time-zone tasks, but most new projects should pick a peer.

**Best for:** Small apps and scripts that want readable time-zone conversion and "what time is it in X" helpers without depending on Intl, and that do not need exact historical DST.

## Scores

- **Overall: 5.2** (likely 4.2 to 6.2)
  - Claude Opus 5.5 (4.5): It is well kept and easy to use, but it bundles simplified DST data, and those correctness limits matter for a time-zone library. Luxon, Day.js with its timezone plugin, date-fns with @date-fns/tz, and the Temporal polyfills cover the same job with more accurate IANA data and far more users. Keep it where it already works, and pick a peer for new time-zone-heavy work.
  - GPT-6.2 Sol (5.8): Spacetime is a reasonable new choice for near-term cross-zone displays that benefit from bundled rules and a simple typed API. For general date work, date-fns offers a broader set of utilities, and Luxon is a better fit for applications that need localized output and the host's time-zone data. Active fixes support the recommendation for its niche, while the importance of historical dates and daylight-saving boundaries can change the choice.
- **Needed by many: 5.9** (likely 4.9 to 7.0)
  - Claude Opus 5.5 (6.0): Many JavaScript projects handle dates, and a large share of them deal with time zones. Spacetime is aimed at time-zone work and only supports English, which makes its audience narrower than date-fns or Day.js. It runs on any runtime.
  - GPT-6.2 Sol (5.8): Date parsing and arithmetic are common across JavaScript apps, and Spacetime works in browsers and Node.js. Its clearest fit is software that converts or displays times across regions using bundled rules. Broad surveys show demand for date libraries, while the share of developers who need this particular approach is uncertain.
- **Helps a lot: 5.3** (likely 4.3 to 6.6)
  - Claude Opus 5.5 (4.5): The API is pleasant, and the library includes types, date math, formatting and time-zone metadata. Its weak point is correctness, which is the core of a time-zone library. It bundles hand-kept DST tables with no history, and the README admits that historical results can be wrong. DST bugs stay open for years. Luxon and the Temporal polyfills use real IANA data and do this job more reliably.
  - GPT-6.2 Sol (6.1): Version 7.17.1 has a readable, typed API and documented examples for routine date work. Its main engine reuses fixed calendar dates for daylight-saving transitions, and the constructor gives callers limited control over skipped or repeated local times. A user verified the latest Canadian offset fix, though it came at the cost of accuracy for some earlier dates. Current performance and coding-agent accuracy have little independent measurement.
- **Holds up over time: 5.9** (likely 4.6 to 7.3)
  - Claude Opus 5.5 (5.5): Maintenance is steady: 189 commits, 8 releases in the last year, the latest in November 2026, and only 8 open issues. It depends on one maintainer, with no visible funding. Minor releases sometimes change behaviour, for example .d now returns UTC and parsing became stricter. The ecosystem is moving towards Temporal, and Spacetime is only starting to adapt to it.
  - GPT-6.2 Sol (6.3): Eight releases and 189 commits in the past year show active maintenance, and the latest patch addressed an October time-zone report in about two weeks. The visible release history depends on one account, and funding and backup release access remain unclear. Temporal interoperability helps, while wider native Temporal support could reduce demand for Spacetime's own engine.
- **Used widely: 3.3** (likely 2.2 to 4.4)
  - Claude Opus 5.5 (3.5): It has about 1.9M downloads per 4 weeks, up 3.5x in a year. That is below the 4.1x median, so it is slowly losing ground. Only 679 repositories and 77 packages depend on it, compared with tens or hundreds of thousands for the main peers. Part of its downloads likely come in through other packages that depend on it, rather than direct choices.
  - GPT-6.2 Sol (3.0): Downloads rose from 544,000 to 1.92 million in four weeks, or 3.54 times last year's count against the catalog median of 4.1. The 679 indexed repositories and 77 npm dependents show a small footprint beside date-fns, Day.js, and Luxon. Installs through react-timezone-select and incomplete indexing make the number of direct choices uncertain.
- **Vouched for: 3.3** (likely 2.2 to 4.7)
  - Claude Opus 5.5 (2.5): I found no developer survey coverage, no well-known company users and no current independent benchmarks. Comparison articles skip it or mention it only briefly. The one independent review I found is from 2022 and is mixed.
  - GPT-6.2 Sol (4.0): react-timezone-select uses Spacetime to calculate offsets and daylight-saving labels, and a user independently checked the Canadian rule fix. Those are concrete checks for narrow uses. Recent surveys document regular use of several peers, while comparable satisfaction data and current independent benchmarks for Spacetime are scarce.
- **Safe: 7.1** (likely 6.1 to 8.2)
  - Claude Opus 5.5 (7.0): It has zero dependencies, no advisories and a permissive Apache-2.0 licence, so the attack surface is small. The OpenSSF Scorecard is 5.7, with no branch protection, no security policy and unpinned dependencies. Releases seem to depend on a single maintainer.
  - GPT-6.2 Sol (7.2): Zero runtime dependencies, a permissive Apache-2.0 license, and zero listed OSV advisories support a low dependency risk. The release workflow runs checks and publishes to npm with provenance using a token. The 5.7 Scorecard flags unpinned workflow dependencies, weak branch protection, and a missing security policy, while the public release history shows one operator.

## Good

- It has zero dependencies, ships its own TypeScript types and needs no Intl or time-zone data from the runtime.
- The chainable API is easy to read, with helpers like whereIts(), time-zone metadata and lenient string parsing.
- It is actively maintained: 189 commits and 8 releases in the last year, with frequent DST table updates.
- It is adding Temporal interop through toTemporal() and an experimental spacetime/temporal entry point.

## Bad

- It keeps only the current DST rules and applies them to every year, so results for past dates can be wrong.
- Several DST bugs have stayed open for years, and a new endOf('day') DST bug was opened in November 2026.
- Out of the box it supports only English and the Gregorian calendar, with no locale-aware parsing or formatting.
- One person maintains it, and few people use it compared with Luxon, date-fns or Day.js.

## The numbers

- Downloads, 4 weeks: 1.9M
- In a year: ×3.5
- GitHub stars: 4.1k
- Commits, 12 months: 189
- Last npm release: Nov 2026
- Advisories, 24 months: 0
- Licence: Apache-2.0
- GitHub: https://github.com/spencermountain/spacetime
- npm: https://www.npmjs.com/package/spacetime

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 21 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
