Software Alternatives & Reviews

js-Joda VS Luxon

Compare js-Joda VS Luxon and see what are their differences

js-Joda logo js-Joda

Immutable date and time library for JavaScript

Luxon logo Luxon

Application and Data, Libraries, and Javascript Utilities & Libraries
  • js-Joda Landing page
    Landing page //
    2021-12-11
  • Luxon Landing page
    Landing page //
    2021-08-03

js-Joda videos

No js-Joda videos yet. You could help us improve this page by suggesting one.

+ Add video

Luxon videos

Luxon - Vehicle Emergency Safety Tool - Review

More videos:

  • Review - LUXON DESIGN ACRYLATE TECHNIQUE - step by step to success
  • Review - Racer X Garage: Luxon Gen 2 Bar Mounts

Category Popularity

0-100% (relative to js-Joda and Luxon)
Javascript UI Libraries
42 42%
58% 58
Web Frameworks
42 42%
58% 58
JS Library
40 40%
60% 60
Development
48 48%
52% 52

User comments

Share your experience with using js-Joda and Luxon. For example, how are they different and which one is better?
Log in or Post with

Social recommendations and mentions

Based on our record, Luxon should be more popular than js-Joda. It has been mentiond 13 times since March 2021. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

js-Joda mentions (6)

  • Making your datepicker easier to work with
    So first, a simple example of how this works. Using our "What is your birthday" example, we can mock up this code. Note: I'm using TypeScript because it enforces the concepts at compile time, but the JsJoda library itself enforces the concepts at runtime so that we get the best of both. - Source: dev.to / about 2 years ago
  • Is It Time for the JavaScript Temporal API?
    Temporal is great, and the sooner it lands and is usable the better (AFAIK, there isn't a production-grade polyfill yet.) In the interim, JS-Joda [0] seems pretty decent, and doesn't use the wrapper approach. [0] https://js-joda.github.io/js-joda/. - Source: Hacker News / over 2 years ago
  • [HELP] Time elapsed since midnight breaks on days when DST changes
    Dealing with human dates is non-trivial thanks to localization. The easiest thing to do is to start with something zone agnostic (like UTC or epoch) do your date calculation, and then shift that into the locale you want. date-fns is fine for basic date math, but if you want something more robust, with a more cohesive API, I'd recommend js-joda. Source: over 2 years ago
  • You don't (may not) need Moment.js
    How come the js-joda library is never mentioned in discussions about javascript date/time libraries? Its API is perfect and it has been around forever. But instead the community seems to keep inventing more and more new datetime libraries. I don't understand why js-joda seems to be ignored https://js-joda.github.io/js-joda/. - Source: Hacker News / over 2 years ago
  • Temporal: Getting started with JavaScript's new date time API
    They already have that for JS! https://js-joda.github.io/js-joda/. - Source: Hacker News / almost 3 years ago
View more

Luxon mentions (13)

  • A bug which is only a bug five days out of the year
    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. - Source: Hacker News / 3 months ago
  • A bug which is only a bug five days out of the year
    You should never, ever do date math naively like this. There are too many unexpected edge case, especially between time zones or daylight savings time or leap years, but even without them: https://moment.github.io/luxon/#/math In fact I would strongly argue you should never use the JS Date built-in at all because they are terrible. Use a library like Luxon or date-fns. As a frontend dev, this is the most common... - Source: Hacker News / 3 months ago
  • 23 of the best Eleventy Themes (Starters) for 2023
    Eleventyone’s project scaffold includes: Eleventy with a skeleton site, a date format filter for Nunjucks based on Luxon, a tiny CSS pipeline with PostCSS, an equally tiny inline JS pipeline, JS search index generator, Netlify Dev for testing Netlify redirects, and a serverless (FaaS) development pipeline with Netlify Dev and Netlify Functions. - Source: dev.to / over 1 year ago
  • Effortlessly handle dates and times in JavaScript with Luxon
    Luxon is a powerful and lightweight JavaScript library for working with dates and times. It was created as an alternative to the popular Moment.js library, with the goal of being faster, smaller, and easier to use. - Source: dev.to / over 1 year ago
  • Luxon Timezones and JS-Date interop
    If you ever wondered how luxon and native JS-Dates (with TimeZones) behave when converting them between each other and ISO-Date-Strings here are my tests:. - Source: dev.to / over 1 year ago
View more

What are some alternatives?

When comparing js-Joda and Luxon, you can also consider the following products

date-fns - date-fns provides the most comprehensive yet simple and consistent toolset for manipulating JavaScript dates in a browser & Node.js.

Day.js - 2kB JavaScript date utility library

Moment.js - Parse, validate, manipulate, and display dates in JavaScript

Nuxt.js - Nuxt.js presets all the configuration needed to make your development of a Vue.js application enjoyable. It's a perfect static site generator.

Next.js - A small framework for server-rendered universal JavaScript apps

CakePHP - The Rapid Development Framework for PHP