awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
spencermountain avatar

spencermountain/spacetime

0
View on GitHub↗
4,109 stars·190 forks·JavaScript·16 viewsspacetime.how↗

Spacetime

Spacetime is a JavaScript timezone library and date manipulation framework designed for parsing, formatting, and managing dates across global timezones. It provides an internationalization tool for localizing date components and includes static type definitions for TypeScript environments to ensure type checking and autocompletion.

The project features a plugin system for custom date logic, allowing the injection of specialized methods and behaviors into date objects. This extensibility enables the implementation of project-specific time requirements through prototype-based method extensions.

The library covers a broad range of date and time operations, including calendar math for adding or subtracting time units, date comparison utilities, and component extraction for retrieving calendar details. It handles global timezone management with capabilities for regional offsets, daylight savings calculations, and conversions between different timezones.

The system also provides parsing and validation for ISO strings, epochs, and natural language inputs, alongside formatting tools that transform date objects into human-readable text using regional language settings and custom templates.

Features

  • Timezone Management - Implements comprehensive global timezone management including regional offsets and daylight savings calculations.
  • Regional Date Creations - Automates the handling of date objects for specific regions, including regional offsets and daylight savings.
  • Date Manipulation Utilities - Provides tools for performing arithmetic, adding/subtracting time units, and rounding date objects.
  • Calendar Date Calculations - Performs calendar math in JavaScript by adding or subtracting time intervals and rounding dates.
  • Date Arithmetic - Provides capabilities for adjusting dates by adding or subtracting hours, days, months, or years.
  • Date String Parsers - Converts ISO strings, epochs, arrays, and natural language inputs into standard date objects.
  • Date Localizations - Transforms raw date objects into human-readable text using custom templates and regional language settings.
  • Date String Parsers - Provides a system for converting ISO strings, epochs, and natural language inputs into standard date objects.
  • UTC Offset Calculations - Calculates absolute time differences by applying UTC offsets and daylight savings adjustments to native timestamps.
  • ISO Date Parsers - Implements regex-based parsing to convert standardized ISO date strings and epochs into internal objects.
  • Timezone Conversions - Shifts specific moments from one timezone to another while maintaining the exact absolute point in time.
  • Timezone Libraries - Serves as a full-featured JavaScript library for managing dates across global timezones with UTC and daylight savings support.
  • Internationalized Date Formatting - Provides locale-aware date and time formatting to accommodate different languages and regional formats.
  • Date Component Extractors - Provides utilities to extract specific calendar details such as day names, month names, seasons, and quarters.
  • Date Comparison Utilities - Implements utilities for determining if one date occurs before, after, or at the same time as another.
  • Date Formatting Utilities - Ships tools to generate human-readable text from dates using custom templates, presets, and ISO formats.
  • Date Logic Plugins - Provides a plugin system to implement project-specific time requirements by adding custom methods to date objects.
  • Temporal String Interpolation - Transforms date objects into human-readable text by replacing formatting symbols with calculated calendar values.
  • Localization Lookup Tables - Uses lookup tables to store regional translations for days and months to enable dynamic language switching.
  • Prototype Extensions - Injects custom date behaviors directly into the native JavaScript Date prototype via a plugin system.
  • Date Prototype Extensions - Allows adding specialized methods to date objects through a plugin system to implement project-specific behaviors.
  • Object Rendering - Transforms date and time objects into readable strings using formatting tokens and predefined presets.
  • Timezone Metadata Retrieval - Allows fetching details such as daylight savings status and UTC offsets for specific global timezones.

Star history

Star history chart for spencermountain/spacetimeStar history chart for spencermountain/spacetime

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Projects sharing features with Spacetime

These projects share indexed features with Spacetime. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • arrow-py/arrowarrow-py avatar

    arrow-py/arrow

    9,046View on GitHub↗

    Arrow is a Python date and time library that provides a simplified interface for creating and manipulating timestamps by wrapping the Python standard library. It serves as a tool for managing date objects, handling timezone offsets, and performing relative date calculations. The library is distinguished by its ability to humanize timestamps into natural language relative descriptions across multiple locales and parse human-readable time phrases back into precise date objects. It also features a specialized parser for converting ISO 8601 strings and custom formatted text into date objects. Br

    Python
    View on GitHub↗9,046
  • formkit/tempoformkit avatar

    formkit/tempo

    2,581View on GitHub↗

    Tempo is a JavaScript date manipulation library that provides a suite of tools for parsing, formatting, and calculating dates and times. It serves as a date arithmetic engine, a locale-aware formatter, and a timezone offset manager for native JavaScript date objects. The library includes a dedicated ISO 8601 date parser for validating and converting standardized strings into date objects. It handles geographic normalization through IANA timezone offset management and utilizes the native Internationalization API for region-specific date formatting. The project covers a broad range of date and

    TypeScriptdatedate-formattingdatetime
    View on GitHub↗2,581
  • malcommac/swiftdatemalcommac avatar

    malcommac/SwiftDate

    7,703View on GitHub↗

    SwiftDate is a date manipulation library for the Swift programming language. It provides a toolkit for parsing, validating, and formatting dates, times, and timezones. The library includes a relative time generator for producing date offsets based on reference points such as tomorrow or next week, and a localized date formatter for transforming date objects into human-readable strings across multiple languages and locales. It also features an ISO8601 date parser to convert standardized date strings from SQL, HTTP, and ISO8601 formats into structured objects, alongside tools for managing timez

    Swift
    View on GitHub↗7,703
  • sdispater/pendulumsdispater avatar

    sdispater/pendulum

    6,668View on GitHub↗

    Pendulum is a Python date and time library that provides a simplified interface for date arithmetic, ISO parsing, localization, and timezone management. It serves as a replacement for the standard library datetime module, extending existing classes to maintain compatibility while offering a more intuitive management interface. The library distinguishes itself through a natural language date formatter that translates time differences into localized strings and a dedicated ISO 8601 date parser. It also includes tools for time-dependent logic testing, allowing the system clock to be mocked or fi

    Python
    View on GitHub↗6,668
Compare all 30 related projects→

Frequently asked questions

What does spencermountain/spacetime do?

Spacetime is a JavaScript timezone library and date manipulation framework designed for parsing, formatting, and managing dates across global timezones. It provides an internationalization tool for localizing date components and includes static type definitions for TypeScript environments to ensure type checking and autocompletion.

What are the main features of spencermountain/spacetime?

The main features of spencermountain/spacetime are: Timezone Management, Regional Date Creations, Date Manipulation Utilities, Calendar Date Calculations, Date Arithmetic, Date String Parsers, Date Localizations, UTC Offset Calculations.

Which projects share features with spencermountain/spacetime?

Projects with overlapping indexed features include: arrow-py/arrow — Arrow is a Python date and time library that provides a simplified interface for creating and manipulating timestamps… formkit/tempo — Tempo is a JavaScript date manipulation library that provides a suite of tools for parsing, formatting, and… malcommac/swiftdate — SwiftDate is a date manipulation library for the Swift programming language. It provides a toolkit for parsing,… sdispater/pendulum — Pendulum is a Python date and time library that provides a simplified interface for date arithmetic, ISO parsing,… moment/moment — Moment is a JavaScript date manipulation library used for parsing, validating, manipulating, and formatting dates and… python-pendulum/pendulum — Pendulum is a Python datetime library used for creating, manipulating, and formatting date and time objects with…