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

wanasit/chrono

0
View on GitHub↗
5,247 stars·377 forks·TypeScript·MIT·18 views

Chrono

Chrono is a JavaScript natural language date parser that converts unstructured text and relative date expressions into structured date objects. It functions as a multi-locale date parser and expression engine designed to resolve time expressions globally.

The library is customizable, allowing for the definition of custom regular expression patterns and refinement rules to extract business-specific date formats. It provides mechanisms to resolve relative terms like tomorrow or next Friday based on a specific reference date.

The system covers international date formatting across various regional locales and provides timezone offset mapping to associate abbreviations with specific offsets. It includes capabilities for natural language extraction and relative date resolution.

Features

  • Date String Parsers - Converts unstructured text and relative date expressions into structured JavaScript date objects.
  • Natural Language Time Parsers - Converts unstructured natural language time phrases into structured JavaScript date objects using pattern matching.
  • Date and Time Processing - Processes date and time expressions across various international languages and regional formats.
  • Regex Pattern Matching - Identifies date structures by matching unstructured text against predefined regular expression patterns.
  • Date and Number Parsing - Converts unstructured text and casual date expressions into structured JavaScript date objects.
  • Numeric and Date Formatting - Processes date and time expressions across multiple languages and regional locales for correct interpretation.
  • Relative Date Resolution - Resolves relative date expressions using a specific reference date and timezone to determine the exact moment.
  • Customizable Extraction Rules - Provides a mechanism to define custom regular expression patterns and refinement rules for business-specific date formats.
  • Multi-Locale Parsing - Supports various international languages and regional date formats to resolve time expressions globally.
  • Named Date Expressions - Resolves relative time phrases like tomorrow or next Friday based on a specific reference date.
  • Relative Date Generators - Determines the exact date of relative expressions like Friday or Today using a reference date.
  • Reference Date Configuration - Enables establishing a specific reference date to accurately resolve relative expressions like tomorrow.
  • Locale-Aware Parsing - Applies language-specific date formats to distinguish between regional styles during parsing.
  • Parsing Rule Sets - Implements language-specific parsing logic to handle various regional date format expectations.
  • Custom Date Parsers - Allows defining custom regular expression patterns and refinement rules to capture business-specific date formats.
  • Multi-Pass Extraction Pipelines - Uses sequential extraction passes to resolve ambiguities and correct the accuracy of parsed date results.
  • Date Result Refinements - Implements a post-processing mechanism for correcting ambiguous date results before returning structured output.
  • Date Parsing Strictness - Offers a toggle to switch between strict formal patterns and casual natural language parsing.
  • Custom Date Expression Extraction - Defines specialized regular expressions and refinement rules to capture business-specific date formats from text.
  • Parsing Strictness Toggles - Provides a toggle to switch between a flexible natural language mode and a rigid formal date mode.

Star history

Star history chart for wanasit/chronoStar history chart for wanasit/chrono

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 wanasit/chrono do?

Chrono is a JavaScript natural language date parser that converts unstructured text and relative date expressions into structured date objects. It functions as a multi-locale date parser and expression engine designed to resolve time expressions globally.

What are the main features of wanasit/chrono?

The main features of wanasit/chrono are: Date String Parsers, Natural Language Time Parsers, Date and Time Processing, Regex Pattern Matching, Date and Number Parsing, Numeric and Date Formatting, Relative Date Resolution, Customizable Extraction Rules.

Which projects share features with wanasit/chrono?

Projects with overlapping indexed features include: 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… masterminds/sprig — Sprig is a comprehensive library of helper functions designed to extend the Go text template engine. It provides a… dromara/carbon — Carbon is a Go library for semantic date and time calculations, formatting, and parsing. It provides a semantic… nalgeon/sqlean — sqlean is a collection of SQLite extension libraries implemented as C-based shared libraries. It provides a suite of… mojombo/chronic — Chronic is a pure Ruby natural language date parser.

Projects sharing features with Chrono

These projects share indexed features with Chrono. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • 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
  • 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
  • masterminds/sprigMasterminds avatar

    Masterminds/sprig

    4,692View on GitHub↗

    Sprig is a comprehensive library of helper functions designed to extend the Go text template engine. It provides a wide array of custom functions that can be injected into the engine to enable complex data manipulation and logic directly within templates. The project offers specialized capabilities for cryptography, including the generation of private keys, X.509 certificates, and secure password hashes. It also includes advanced logic extensions for semantic versioning comparison, ternary evaluations, and the resolution of environment variables from the host operating system. The library co

    Gogotemplatetemplates
    View on GitHub↗4,692
  • Compare all 30 related projects→