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
moment avatar

moment/moment

0
View on GitHub↗
47,965 stars·6,987 forks·JavaScript·MIT·24 viewsmomentjs.com↗

Moment

Moment is a JavaScript date manipulation library used for parsing, validating, manipulating, and formatting dates and times. It provides a system for converting date strings into structured objects using the ISO 8601 standard or custom tokens.

The library includes a timezone management tool for handling UTC offsets and geographic timezones, ensuring accurate date calculations across different regions. It features an internationalized date formatter and a relative time calculator to render timestamps as human-friendly durations adapted to various cultural locales and languages.

The project covers a broad range of temporal capabilities, including date value modification, comparison, and difference calculations. It also provides tools for temporal data validation and the conversion of date objects into human-readable strings using customized display patterns.

Features

  • Date and Time Libraries - A comprehensive library for parsing, validating, manipulating, and formatting date and time values in JavaScript.
  • Calendar-Aware Date Offsets - Adjusts timestamps using calendar rules and numeric offsets to manage different geographic timezones.
  • Date Manipulation Utilities - Implements functional tools to determine if a date occurs before, after, or during specific intervals.
  • Date and Time Utilities - Measures the exact time elapsed between two date objects in units like months, days, or hours.
  • Date String Parsers - Transforms date strings into structured objects using ISO 8601 formats or custom tokens with strict validation.
  • Locale Mappings - Uses lookup tables to translate date components and relative time descriptions into different languages and cultural formats.
  • Date Formatting Utilities - Provides extensive utilities for formatting date objects into human-readable strings using custom display patterns.
  • Calendar Validations - Verifies that date strings match specific patterns and represent real, logically valid calendar dates.
  • Token-Based Formatters - Employs a token-based engine to parse and serialize date strings using character-based pattern matching.
  • Duration Interval Calculators - Provides utilities to compute time differences and convert them into human-readable calendar units.
  • ISO 8601 Standards - Implements rigid parsing and formatting logic to ensure consistent data exchange based on the ISO 8601 standard.
  • Timezone Management - Handles Universal Coordinated Time and timezone offsets to ensure accurate calculations across geographic regions.
  • Temporal Validations - Verifies that date strings match specific patterns and represent real calendar dates before processing.
  • Internationalization - Adapts date and time displays to regional languages and cultural conventions.
  • Relative Date Formatting - Measures the difference between two timestamps and displays the elapsed time in human-friendly relative terms.
  • Internationalized Date Formatting - Adapts date, weekday, and relative time descriptions to match the languages and cultural norms of various global locales.
  • Data Utilities and Libraries - Library for parsing, validating, and manipulating dates.
  • Date and Time Utilities - Classic library for parsing and formatting dates.
  • Date Utilities - Library for date parsing and manipulation.
  • JavaScript Utilities - Comprehensive library for parsing and manipulating dates.
  • Date and Time - Date parsing, validation, and display.

Star history

Star history chart for moment/momentStar history chart for moment/moment

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 Moment

These projects share indexed features with Moment. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • date-fns/date-fnsdate-fns avatar

    date-fns/date-fns

    36,579View on GitHub↗

    date-fns is a JavaScript date utility library providing a collection of pure functions for manipulating, formatting, and calculating dates and times. It serves as an immutable date manipulation library and a tool for time zone management, ensuring that date transformations are performed without modifying the original date objects. The library functions as a date formatting tool that converts date objects into human-readable strings using custom patterns and international locales. It includes a specific toolset for adjusting and calculating date representations across different geographical re

    TypeScriptdatedate-fnshacktoberfest
    View on GitHub↗36,579
  • 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
  • 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
Compare all 30 related projects→

Frequently asked questions

What does moment/moment do?

Moment is a JavaScript date manipulation library used for parsing, validating, manipulating, and formatting dates and times. It provides a system for converting date strings into structured objects using the ISO 8601 standard or custom tokens.

What are the main features of moment/moment?

The main features of moment/moment are: Date and Time Libraries, Calendar-Aware Date Offsets, Date Manipulation Utilities, Date and Time Utilities, Date String Parsers, Locale Mappings, Date Formatting Utilities, Calendar Validations.

Which projects share features with moment/moment?

Projects with overlapping indexed features include: date-fns/date-fns — date-fns is a JavaScript date utility library providing a collection of pure functions for manipulating, formatting,… 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,… arrow-py/arrow — Arrow is a Python date and time library that provides a simplified interface for creating and manipulating timestamps… crsmithdev/arrow — Arrow is a Python date and time library designed for parsing, formatting, and manipulating date and time objects. It… iamkun/dayjs — Day.js is a lightweight utility for parsing, validating, and manipulating date objects. It provides a fluent,…