Elestia Open Source Ratings
5.2

Spacetime

Reasonable, with limits. 6th of 10 date and time libraries.

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.

WebsiteGitHubnpm

Scores

Overall5.2

How strongly do we recommend it for a new project today?

Claude Opus 5.5: 4.5, likely 3.5 to 5.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, likely 4.8 to 6.9

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 many5.9

How many developers need a tool for this job?

Claude Opus 5.5: 6.0, likely 5.0 to 7.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.

  • github description: Describes itself as a lightweight JavaScript time-zone library.
  • github.com/spencermountain/spacetime: Supports only English and the Gregorian calendar by default.

GPT-6.2 Sol: 5.8, likely 4.7 to 6.9

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 lot5.3

How well does it do the job for those who need it?

Claude Opus 5.5: 4.5, likely 3.5 to 6.0

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, likely 5.0 to 7.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 time5.9

Will it still be a good choice in two years?

Claude Opus 5.5: 5.5, likely 4.0 to 7.0

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.

  • github commitsLastYear / releasesLastYear: 189 commits and 8 releases in the last year.
  • github.com/spencermountain/spacetime/blob/master/changelog.md: Behaviour changes ship in minor versions (7.14 to 7.17).
  • peers temporal-polyfill downloads: Temporal polyfills grew 13 to 18 times in a year, which shows the ecosystem moving to Temporal.

GPT-6.2 Sol: 6.3, likely 5.1 to 7.6

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 widely3.3

How many use it, and is that growing?

Claude Opus 5.5: 3.5, likely 2.5 to 4.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.

  • npm downloadsLast4Weeks / downloadsSame4WeeksYearAgo: 1,922,778 vs 543,576, a 3.54x ratio, below the 4.1 median.
  • dependents: 679 repositories and 77 packages, against Luxon's 78k repositories.
  • bluesky posts: Only 2 posts, one of them from a bot.

GPT-6.2 Sol: 3.0, likely 1.9 to 4.2

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.

  • npm downloadsLast4Weeks, downloadsSame4WeeksYearAgo, medianDownloadsRatio: Raw downloads grew 3.54 times, below the 4.1 catalog baseline.
  • dependents, peers dependentRepos: 679 indexed repositories versus 78,053 for Luxon and 750,093 for date-fns.
  • github stars, bluesky posts, hackerNews stories: 4,105 stars, two Bluesky links, and zero matched Hacker News stories.
  • github.com/ndom91/react-timezone-select/blob/main/package.json: The React picker installs Spacetime as a runtime dependency.
Vouched for3.3

Who stands behind it being good?

Claude Opus 5.5: 2.5, likely 1.5 to 4.0

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, likely 2.8 to 5.3

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.

Safe7.1

How safe is it to depend on?

Claude Opus 5.5: 7.0, likely 6.0 to 8.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.

  • npm dependencies: 0 dependencies.
  • advisories total: 0 advisories.
  • scorecard score: 5.7, with Branch-Protection, Security-Policy and Pinned-Dependencies at 0.

GPT-6.2 Sol: 7.2, likely 6.1 to 8.3

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

npm downloads, 4 weeks
1.9M ×3.5 in a year
GitHub stars
4.1k
Commits, 12 months
189
npm version
7.17.1 Nov 2026
Versions, 12 months
8
Advisories, 24 months
0 of 0 ever
OpenSSF Scorecard
5.7 out of 10, Nov 2026
Licence
Apache-2.0

Read on 21 November 2026 from GitHub (spencermountain/spacetime), npm (spacetime), OSV and the OpenSSF Scorecard.

Date and time libraries

  1. 8.0date-fns
  2. 7.5temporal-polyfill
  3. 6.8Day.js
  4. 6.6Luxon
  5. 5.5Tempo
  6. 5.2Spacetime
  7. 5.0@js-temporal/polyfill
  8. 4.2date-fns-tz
  9. 3.8Moment Timezone
  10. 3.6Moment.js
Compare all 10 on six scores