JavaScript Datetime

Open-source JavaScript projects categorized as Datetime

Top 7 JavaScript Datetime Projects

  • 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? | | 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: 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.

  • 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 | | 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:

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

  • 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
  • react-date-range

    A React component for choosing dates and date ranges.

  • laydate

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

  • pg-calendar

    :calendar: beautiful and eidetic date picker

  • inquirer-date-prompt

    A date prompt plugin for Inquirer.js.

  • myTab

    myTab is a simple chrome extension that overrides a new chrome tab with beautiful Wallpaper, Weather Information, Date, Time, and a Quote. (by helloukey)

  • 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 Datetime related posts


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

Project Stars
1 dayjs 45,704
2 Luxon 14,842
3 react-date-range 2,549
4 laydate 1,112
5 pg-calendar 127
6 inquirer-date-prompt 19
7 myTab 12

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.