Date

Top 23 Date Open-Source 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
  • date-fns

    ⏳ Modern JavaScript date utility library ⌛️

  • Project mention: Javascript Date() - DateOnly Format and off by 1 day when using date-fns | dev.to | 2024-03-28

    // Prevent the date to lose the milliseconds when passed to new Date() in IE10 return new (argument.constructor as GenericDateConstructor)( +argument, ); // Source: https://github.com/date-fns/date-fns/blob/5c1adb5369805ff552737bf8017dbe07f559b0c6/src/toDate/index.ts#L46

  • awesome-falsehood

    😱 Falsehoods Programmers Believe in

  • Project mention: Ask HN: Did you encounter any Leap Year bugs today? How bad was it? | news.ycombinator.com | 2024-02-29

    Billing. It always has to be the billing. For a list of all other edge cases, you have: https://github.com/kdeldycke/awesome-falsehood#readme

  • flatpickr

    lightweight, powerful javascript datetimepicker with no dependencies

  • Project mention: I am looking for a troubled/bad open source codebase | /r/ExperiencedDevs | 2023-07-12
  • 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.

  • arrow

    🏹 Better dates & times for Python (by arrow-py)

  • 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
  • pickadate.js

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

  • SwiftDate

    🐔 Toolkit to parse, validate, manipulate, compare and display dates, time & timezones in Swift.

  • Project mention: Question about Apple's review | /r/iOSProgramming | 2023-05-17

    The 3rd party library I use GRDB SwiftyUserDefaults Kingfisher SwiftDate Popovers

  • Pendulum

    Python datetimes made easy

  • Project mention: Creating Command-Line Tools in Python with argparse - Guide | /r/learningpython | 2023-12-09

    I did the same with datetime and moved to using Pendulum.

  • timeago.js

    :clock8: :hourglass: timeago.js is a tiny(2.0 kb) library used to format date with `*** time ago` statement.

  • ms.js

    Tiny millisecond conversion utility

  • Project mention: 10 Powerful Node.js Libraries Every Developer Should Know About | dev.to | 2023-04-27

    8.ms

  • carbon

    A simple, semantic and developer-friendly golang package for time (by golang-module)

  • CalendarView

    A highly customizable calendar view and compose library for Android.

  • react-infinite-calendar

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

  • Project mention: 9 React Calendar Components for Your Next App | dev.to | 2024-04-25
  • 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

  • react-calendar

    Ultimate calendar for your React app.

  • Project mention: 9 React Calendar Components for Your Next App | dev.to | 2024-04-25
  • Maya

    Datetimes for Humans™

  • chrono

    Date and time library for Rust (by chronotope)

  • Project mention: The Unix leap second mess | news.ycombinator.com | 2024-03-27
  • date

    A date and time library based on the C++11/14/17 <chrono> header

  • Project mention: Ask HN: Did you encounter any Leap Year bugs today? How bad was it? | news.ycombinator.com | 2024-02-29

    > but I'd be surprised if there was not a modern date library for C++

    The standard library now includes . AFAIK: It was mostly written by Howard Hinnant. He now has more date/time libs that expand upon : https://github.com/HowardHinnant/date

  • react-native-modal-datetime-picker

    A React-Native datetime-picker for Android and iOS

  • Timepiece

    Intuitive date handling in Swift

  • 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).

Date related posts

Index

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

Project Stars
1 moment 47,790
2 dayjs 45,745
3 date-fns 33,682
4 awesome-falsehood 23,015
5 flatpickr 15,969
6 Luxon 14,864
7 arrow 8,550
8 pickadate.js 7,703
9 SwiftDate 7,524
10 Pendulum 6,059
11 timeago.js 5,147
12 ms.js 4,970
13 carbon 4,505
14 CalendarView 4,385
15 react-infinite-calendar 3,953
16 jquery-timeago 3,817
17 moment-timezone 3,793
18 react-calendar 3,401
19 Maya 3,401
20 chrono 3,126
21 date 3,038
22 react-native-modal-datetime-picker 2,911
23 Timepiece 2,639

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