16 repository-uri
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 este o bibliotecă de conversie a milisecundelor care oferă instrumente pentru formatarea duratelor în text și parsarea șirurilor de timp lizibile în numere. Funcționează ca un utilitar pentru traducerea valorilor numerice în milisecunde în șiruri de caractere lizibile și pentru conversia unităților de timp, precum zile, ore și minute, în milisecunde numerice. Proiectul acoperă parsarea și formatarea timpului, permițând traducerea unităților de timp în valori de milisecunde pentru gestionarea timeout-urilor aplicațiilor și conversia unităților de durată. Include instrumente pentru transformarea duratelor în milisecunde atât în formate text concise, cât și detaliate, pentru utilizarea în log-uri sau interfețe grafice.
Millisecond conversion utility.
timeago.js este o bibliotecă JavaScript care convertește timestamp-urile în șiruri de timp relativ lizibile de către oameni. Aceasta funcționează ca o bibliotecă de date internaționalizată care transformă datele și orele statice în declarații descriptive ale timpului scurs. Proiectul oferă un actualizator dinamic de timp care reîmprospătează automat etichetele de timp relativ pe o pagină web la intervale regulate. Suportă localizarea datelor în mai multe limbi, permițând traducerea declarațiilor de timp scurs în diverse limbi folosind setări de localizare încorporate sau personalizate.
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.