question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support for Luxon v2 in plugin

See original GitHub issue

Checklist

Please mark these items with an [x]

  • I’ve already searched through existing tickets
  • Other people will find this feature useful

Feature Description

Luxon just released the version 2 of the library. Some people realized this and created a feature request ticket

According to the upgrade from 1x to 2x guide we would need to update:

While the change itself is easy I think it is hard to manage the versioning because this requires the luxon peer dependency to be upgraded to V2.

I see several options:

  1. Update luxon peer dependency to ^2.1.0 and release a new version of fullcalendar with this breaking change.
  2. Create a new package luxon-plugin-v2 with this changeset so we don’t need to release a major fullcalendar version.

I’ve already got a fork and I’m happy to help with those changes but I would like the contributors opinion first. Thx for this amazing project 🚀

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:10
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

5reactions
arshawcommented, Feb 9, 2022

I have just released a new plugin that will solve this problem: https://www.npmjs.com/package/@fullcalendar/luxon2

I plan on documenting this today. However, there’s not much to document. Simply use this if you want Luxon 2 support.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Luxon 2 Plugin - Docs - FullCalendar
Luxon is a JavaScript date library that cleverly leverages the browser's native APIs for many things such as time zones, locales, and formatting....
Read more >
Luxon 3.x
A powerful, modern, and friendly wrapper for JavaScript dates and times. DateTimes, Durations, and Intervals; Immutable, chainable, unambiguous API. Native time ...
Read more >
How to use the luxon.DateTime.fromRFC2822 function in luxon
To help you get started, we've selected a few luxon.DateTime. ... fromMillis(123412323, { numberingSystem: 2 }); var date: DateTime = DateTime.
Read more >
ADR012: Use Luxon.toLocaleString and date/time presets
Architecture Decision Record (ADR) for using Luxon's toLocaleString method ... At the moment, plugins are defining dates and times using custom formats and ......
Read more >
Luxon DateTime: adding type for extension - Stack Overflow
Please help me clear this problem. Where did I go wrong? I really appreciate all your help. javascript · typescript · luxon.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found