Setting Dates and Timezones in your React application with Luxon

Series

This article is Part 2 of the “Meet Luxon” series. I highly recommend reading the first article before reading on. This is not meant to be click-bait: I truly believe you will get more out of this article when you gain the knowledge that’s provided in the first article (which is focussing on getting a deeper understanding of time zones and how they affect working with dates and times in your code).

This article dives deeper into using the Luxon library itself based on the  excellent documentation, mixed with my own insights and commentary.

  • Part 1:  time zones
  • Part 2: using the Luxon library (this article)

Let’s go :)

Overview

We will discuss the following topics, in this order:

  • Time zones and offsets (summary)
  • Intl (internationalization)
  • Parsing dates
  • Formatting dates

#coding #web-development #javascript #programming

Meet Luxon, the new Moment.js killer (Part 2)
1.20 GEEK