16 dépôts
Libraries for parsing, formatting, and manipulating dates.
Explore 16 awesome GitHub repositories matching part of an awesome list · Date Utilities. Refine with filters or upvote what's useful.
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
Immutable date library with a modern API.
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 co
Library for date parsing and manipulation.
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
Modern utility library for dates.
js-cookie is a lightweight JavaScript library and browser storage interface used to create, read, and delete cookies. It provides a programmatic API for managing client-side data persistence and maintaining browser state across page refreshes. The library includes capabilities for custom cookie encoding and the use of custom value converters to handle specific character formats. It also features a global attribute configuration system that allows default expiration, security, and scope rules to be applied automatically to all cookie operations. The tool covers general cookie management inclu
Provides logic to convert numerical durations or dates into UTC strings for cookie expiration.
Luxon is a JavaScript library for parsing, validating, manipulating, and formatting dates and times. It provides a suite of immutable objects for managing points in time, durations, and intervals, ensuring that all transformations return new instances to maintain predictable state. The library distinguishes itself by leveraging the native Internationalization API and environment-based time zone databases. This architecture allows for localized date formatting and global time zone conversions without requiring external data files or additional dependencies. It also supports non-Gregorian calen
Library for working with dates and times.
is.js is a JavaScript validation library and data type checker. It provides a suite of utilities to verify whether variables are primitives, arrays, functions, or specific object types. The project allows for the implementation of custom validation logic and the use of naming namespaces to override default rules and regular expressions. It covers a broad range of validation capabilities, including numeric arithmetic properties, date and time analysis for relative and absolute ranges, and string format verification for patterns such as emails, URLs, and IP addresses. The library also includes
Provides utilities to determine if dates are today, in the future, or within specific relative ranges.
ms.js est une bibliothèque de conversion de millisecondes permettant de formater des durées en texte et d'analyser des chaînes de temps lisibles par l'humain pour les convertir en nombres. Elle sert d'utilitaire pour traduire des valeurs numériques en millisecondes en chaînes lisibles et pour convertir des unités de temps comme les jours, heures et minutes en millisecondes numériques. Le projet couvre l'analyse et le formatage temporel, permettant de traduire des unités de temps lisibles en valeurs en millisecondes pour la gestion des timeouts d'applications et la conversion d'unités de durée. Il inclut des outils pour transformer des durées en millisecondes en texte sous forme concise ou longue, utilisable dans des logs ou des interfaces utilisateur.
Millisecond conversion utility.
timeago.js est une bibliothèque JavaScript qui convertit les horodatages en chaînes de temps relatif lisibles par l'humain. Elle fonctionne comme une bibliothèque de date internationalisée qui transforme les données de date et d'heure statiques en déclarations descriptives de temps écoulé. Le projet fournit un actualisateur de temps dynamique qui rafraîchit automatiquement les étiquettes de temps relatif sur une page web à intervalles réguliers. Il prend en charge la localisation de date multilingue, permettant aux déclarations de temps écoulé d'être traduites dans diverses langues en utilisant des paramètres régionaux intégrés ou personnalisés.
Library for formatting relative time.
moment-timezone is a JavaScript library and date manipulation extension designed for parsing and converting timestamps across different geographic regions. It serves as a JavaScript implementation of the Internet Assigned Numbers Authority database to manage global time offsets and daylight saving rules. The library provides regional localization and historical time zone analysis by mapping timestamps to geographic regions using official IANA data. It enables the translation of date and time strings between various zones while accounting for chronological records of clock transitions. The pr
Timezone support for date manipulation.
This library is a client-side tool designed to transform static date strings into automatically updating, human-readable relative time labels within web interfaces. It functions as a plugin that scans the document for specific elements and converts their content into dynamic expressions, such as minutes or hours ago, to provide context for recent activity. The system distinguishes itself by decoupling display logic from JavaScript through attribute-driven configuration, allowing settings and date values to be managed directly within HTML. It maintains accuracy by employing interval-based poll
jQuery plugin for fuzzy timestamps.
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
Tree-shakable library for native Date objects.
Lightweight and simple JS date formatting and parsing
Lightweight date formatting and parsing.
Date() for humans
Human-readable date parsing.
DEPRECATED: Timezone-enabled JavaScript Date object. Uses Olson zoneinfo files for timezone data.
Timezone-enabled Date object implementation.
Super simple countdowns.
Simple countdown timer utility.
🗺️⏳ Count down to your events—visually and interactively! With React at its core, this project merges time and place, turning ordinary countdowns into engaging, map-based experiences.
Map-based countdown timer.