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

hustcc/timeago.js

0
View on GitHub↗
5,376 stars·403 forks·TypeScript·MIT·9 viewstimeago.ling.pub↗

Timeago.js

timeago.js is a JavaScript library that converts timestamps into human-readable relative time strings. It functions as an internationalized date library that transforms static date and time data into descriptive statements of elapsed time.

The project provides a dynamic time updater that automatically refreshes relative time labels on a webpage at regular intervals. It supports multilingual date localization, allowing time-elapsed statements to be translated into various languages using built-in or custom locale settings.

Features

  • Relative Time Formatting - Provides utilities for rendering human-readable timestamps that update dynamically to reflect elapsed time.
  • Temporal Unit Bucketing - Determines the most appropriate time unit for a relative string based on the elapsed duration.
  • Relative Date Formatting - Transforms date and time strings into human-readable relative statements describing elapsed time.
  • Date Difference Phrases - Converts date intervals into natural-language phrases with comprehensive locale support.
  • Date Difference Calculators - Computes the difference between the current time and a timestamp to determine elapsed time.
  • Relative Time Humanization - Translates relative time strings into various languages using built-in or custom locale settings.
  • Temporal String Interpolation - Generates translated relative time phrases by inserting numeric values into localized temporal patterns.
  • Human-Readable Time Delta Formatters - Converts time deltas into localized, human-readable strings like few minutes ago.
  • DOM Content Refreshers - Implements periodic scanning of the DOM to refresh relative time strings automatically.
  • Internationalized Date Formatting - Provides locale-aware formatting specifically for time-elapsed statements in multiple languages.
  • Temporal String Refreshers - Automatically refreshes relative time strings on the webpage without requiring a page reload.
  • Dynamic Relative Time Updaters - Provides a utility that automatically refreshes relative time labels on a webpage at regular intervals.
  • Custom Data Attributes - Uses custom HTML data attributes to identify which elements should be formatted as relative time.
  • Date And Time - Formats dates into relative time-ago strings.
  • Date and Time Utilities - Formats dates into human-readable time-ago strings.
  • Date Utilities - Library for formatting relative time.
  • Dates and Time - Library for formatting dates into relative time strings.

Star history

Star history chart for hustcc/timeago.jsStar history chart for hustcc/timeago.js

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

Frequently asked questions

What does hustcc/timeago.js do?

timeago.js is a JavaScript library that converts timestamps into human-readable relative time strings. It functions as an internationalized date library that transforms static date and time data into descriptive statements of elapsed time.

What are the main features of hustcc/timeago.js?

The main features of hustcc/timeago.js are: Relative Time Formatting, Temporal Unit Bucketing, Relative Date Formatting, Date Difference Phrases, Date Difference Calculators, Relative Time Humanization, Temporal String Interpolation, Human-Readable Time Delta Formatters.

Which projects share features with hustcc/timeago.js?

Projects with overlapping indexed features include: python-pendulum/pendulum — Pendulum is a Python datetime library used for creating, manipulating, and formatting date and time objects with… date-fns/date-fns — date-fns is a JavaScript date utility library providing a collection of pure functions for manipulating, formatting,… iamkun/dayjs — Day.js is a lightweight utility for parsing, validating, and manipulating date objects. It provides a fluent,… dromara/carbon — Carbon is a Go library for semantic date and time calculations, formatting, and parsing. It provides a semantic… arrow-py/arrow — Arrow is a Python date and time library that provides a simplified interface for creating and manipulating timestamps… matthewyork/datetools — DateTools is a date manipulation library for iOS applications that provides utilities for date arithmetic, range…

Projects sharing features with Timeago.js

These projects share indexed features with Timeago.js. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • python-pendulum/pendulumpython-pendulum avatar

    python-pendulum/pendulum

    6,668View on GitHub↗

    Pendulum is a Python datetime library used for creating, manipulating, and formatting date and time objects with native timezone awareness. It extends the native Python datetime class to maintain compatibility while providing a specialized engine for date arithmetic and timezone management. The library features a dedicated ISO 8601 and RFC 3339 parser that converts standardized strings into date objects without requiring manual format strings. It also includes a relative time generator for producing natural language descriptions of time differences and a timezone management tool that automati

    Python
    View on GitHub↗6,668
  • 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
  • iamkun/dayjsiamkun avatar

    iamkun/dayjs

    48,662View on GitHub↗

    Day.js is a lightweight utility for parsing, validating, and manipulating date objects. It provides a fluent, chainable interface that allows for complex time calculations and transformations to be performed through a sequence of readable method calls. By utilizing an immutable wrapper pattern, the library ensures data integrity by creating new instances for every operation rather than modifying existing objects. The project is distinguished by a minimalist core abstraction that maintains a small footprint by offloading non-essential features to an optional, modular plugin system. This archit

    JavaScriptdatedate-formattingdatetime
    View on GitHub↗48,662
  • dromara/carbondromara avatar

    dromara/carbon

    5,221View on GitHub↗

    Carbon is a Go library for semantic date and time calculations, formatting, and parsing. It provides a semantic interface to simplify temporal data handling and improve the readability of date and time manipulations. The library is distinguished by its support for multi-calendar date conversion, allowing transformations between Gregorian, Chinese Lunar, Persian, and Hebrew calendar systems. It also includes a localized temporal framework that uses ISO 639-1 codes to format dates and relative time differences across multiple language locales. Additional capabilities cover global time zone man

    Go
    View on GitHub↗5,221
  • Compare all 30 related projects→