JavaScript Date

Open-source JavaScript projects categorized as Date

Top 23 JavaScript Date Projects

  • moment

    Parse, validate, manipulate, and display dates in javascript.

  • Project mention: How to Convert String to Date in JavaScript | dev.to | 2024-04-05

    To learn more about Moment.js, please visit their official website.

  • dayjs

    ⏰ Day.js 2kB immutable date-time library alternative to Moment.js with the same modern API

  • Project mention: The Day.js Dilemma: How Should We Handle OSS Maintainers Going MIA? | news.ycombinator.com | 2024-04-12

    As web developers, we heavily rely OSS packages. One popular example is Day.js, a JS lib for parsing, validating, manipulating, and formatting dates. It's a widely-used alternative to Moment, with over 17mil weekly downloads on npm.

    A critical bug was discovered in Day.js (see: https://github.com/iamkun/dayjs/pull/2118) causing incorrect date manipulation (add, subtract) when in UTC TZ. This could have severe implications for any project relying on Day.js for date-related functionality. However, the maintainer of the project appears to be unresponsive, leaving the bug unresolved and the future of the library uncertain.

    This raises some important questions for our community:

    - At what point should we consider a widely-used OSS project "abandoned" if the maintainer is unresponsive?

    - Is forking the project the best solution, or should we first try to reach out to the maintainer through other channels?

    - Are there established community guidelines around responsiveness expectations for widely-used OSS projects?

    - What are successful examples of community-driven forks or maintenance after a maintainer stepped away?

    I am very aware that many of these developers give their spare time for free for these projects, with little or no payment, and I am very thankful for all their work. This developer does get some money (a small amount?) through OpenCollective, and possibly also works for a company (in China?) that makes a UI library, which I think uses Day.js internally.

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • Luxon

    ⏱ A library for working with dates and times in JS

  • Project mention: A bug which is only a bug five days out of the year | news.ycombinator.com | 2024-01-31

    To be honest, use a library where someone else figured out the ambiguities and accounted for the edge cases. Good starting point: https://moment.github.io/luxon/#/math

    Date-fns is fine for simpler use cases but Luxon is a lot more complete, especially where it comes to time zones.

  • pickadate.js

    The mobile-friendly, responsive, and lightweight jQuery date & time input picker.

  • react-infinite-calendar

    ✨ Infinite scrolling date-picker built with React, with localization, range selection, themes, keyboard support, and more.

  • jquery-timeago

    :clock8: The original jQuery plugin that makes it easy to support automatically updating fuzzy timestamps (e.g. "4 minutes ago").

  • moment-timezone

    Timezone support for moment.js

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • react-native-modal-datetime-picker

    A React-Native datetime-picker for Android and iOS

  • fecha

    Lightweight and simple JS date formatting and parsing

  • js-joda

    :clock2: Immutable date and time library for javascript

  • Project mention: Everything you need to know about Date in Programming | dev.to | 2023-10-28

    js-joda

  • date

    Date() for humans (by matthewmueller)

  • dateformat

    A node.js package for Steven Levithan's excellent dateFormat() function.

  • Project mention: Common Date formatter libraries in React (TypeScript) | /r/reactjs | 2023-05-11

    https://www.npmjs.com/package/dateformat This helps me.

  • laydate

    一款被广泛使用的高级 Web 日历组件,完全开源无偿且颜值与功能兼备,足以应对日期相关的各种业务场景

  • react-nice-dates

    A responsive, touch-friendly, and modular date picker library for React.

  • Heat.js

    🌞 A lightweight JavaScript library that generates customizable heat maps, charts, and statistics to visualize date-based activity and trends.

  • Project mention: Heat.js v2.0.0 – Create maps/charts/statistics to visualize date-based activity | news.ycombinator.com | 2024-02-12
  • human-interval

    Human readable time distances for javascript

  • countdown.js

    Super simple countdowns.

  • datepicker

    Get a date with JavaScript! A datepicker with no dependencies. (by qodesmith)

  • md-date-time-picker

    An implementation of Material Design Picker components in vanilla CSS, JS, and HTML

  • Project mention: Button under datepicker firing event | /r/jquery | 2023-06-07
  • server-date

    Make the server's clock available in the browser.

  • timewave

    A tiny clock and date, period, or duration math library < 2k (minified/gzipped)

  • parse-human-relative-time

    Parse human relative time strings like "next Tuesday 3pm".

  • Project mention: Show HN: Tu – Convert natural language date/time to UTC | news.ycombinator.com | 2024-04-12

    I built a JavaScript library for my needs: https://github.com/derhuerst/parse-human-relative-time

  • CalendarScraper

    Perform Time-Based Action via Scraping a Google Calendar

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

JavaScript Date related posts

Index

What are some of the best open-source Date projects in JavaScript? This list will help you:

Project Stars
1 moment 47,790
2 dayjs 45,745
3 Luxon 14,864
4 pickadate.js 7,703
5 react-infinite-calendar 3,953
6 jquery-timeago 3,817
7 moment-timezone 3,793
8 react-native-modal-datetime-picker 2,906
9 fecha 2,058
10 js-joda 1,586
11 date 1,480
12 dateformat 1,297
13 laydate 1,112
14 react-nice-dates 1,101
15 Heat.js 479
16 human-interval 457
17 countdown.js 402
18 datepicker 336
19 md-date-time-picker 274
20 server-date 190
21 timewave 48
22 parse-human-relative-time 29
23 CalendarScraper 25

Sponsored
The modern identity platform for B2B SaaS
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
workos.com