Temporal: Getting started with JavaScript's new date time API

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • proposal-temporal

    Provides standard objects and functions for working with dates and times.

  • Damn, he says [1]:

    > Sorry to be blunt, but the current approach really is a terrible one.

    That is blunt, and would require my utmost restraint to avoid falling into the trap of getting overly defensive if I were the proposal authors. Which is a shame, because he makes a good point.

    That said, it is also reassuring to see that they did actually consider his point, and I can follow their motivation [2]. I'm not sure whether I'd have made the same decision, but it's certainly a valid one to make.

    [1] https://github.com/tc39/proposal-temporal/issues/1454

    [2] https://tc39.es/proposal-temporal/docs/calendar-review#why-a...

  • moment

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

  • > But let us be honest, it has to compete with moment.js, not with Date().

    Moment.js is deprecated: "Moment.js is a legacy project, now in maintenance mode. In most cases, you should choose a different library."

    https://github.com/moment/moment/#project-status

  • 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
  • js-joda

    :clock2: Immutable date and time library for javascript

  • Luxon

    ⏱ A library for working with dates and times in JS

  • Note that there exists a spiritual successor to Moment.js, Luxon[1]. The creator was a Moment maintainer and it lives under the Moment project umbrella.

    1: https://moment.github.io/luxon/

  • date-fns

    ⏳ Modern JavaScript date utility library ⌛️

  • 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
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts