Luxon is not working

Hi Everyone. is there any working example of using luxon with event-calandar?
I’m getting this error but it’s happy with moment.
version :
@mobiscroll/angular”: “https://npm.mobiscroll.com/@mobiscroll/angular-trial/-/angular-trial-5.22.2.tgz”,
“moment-timezone”: “^0.5.43”,
“luxon”: “^3.3”,

Hi @Naeim,

The timezonePlugin value should be luxonTimezone:

import { Component } from '@angular/core';
import { MbscEventcalendarOptions, luxonTimezone } from '@mobiscroll/angular';
import * as luxon from 'luxon';

luxonTimezone.luxon = luxon;

@Component({
  selector: 'app-root',
  templateUrl: './app.component.html',
})
export class AppComponent {
  calendarSettings: MbscEventcalendarOptions = {
    dataTimezone: 'utc',
    timezonePlugin: luxonTimezone
  };
}

Thanks Gabi.
I was sending the plugin from the template.

I tried to send it from calendarSettings and still the same error. which version of luxon you are using?

Hi @Naeim,

Your code looks correct. We are aware of an issue with using luxon and a workaround would be to set the version: luxonTimezeon.version = 3; // your luxon's major version number here
I saw that you commented out that row, was that intentional? If you uncomment it, you still get the same error?