Services Plugins FAQs

AirCalender - Moment.tz error

Hi there, I hoped to use the air calendar as it offers all I need… I’m following the docs to get set up but can’t get out of the gates unfortunately as getting this error ( The plugin Air Calendar (Full Calendar 6.1.15) / element AirCalendar threw the following error: TypeError: moment.tz is not a function
at eval (PLUGIN_1553798969094x282191533018710000/Air-Calendar–Full-Calendar-6-1-15–update–AirCalendar-.js:3:11549) )… I tried adding the moment plugin but not helped. Maybe doing something stupid but any assistance be great…

Hey,
Thank you for contacting us.

I’m sorry to hear that you encountered a problem when using the plugin.
I checked how the plugin works on our demo page and found no such problem, the plugin works as it should.

Please configure the plugin as shown on our demo editor page and feel free to use the documentation.

Also, here are some general tips that may also help you solve your problem:

misconfigured dependency for the Air Calendar plugin. The moment.tz function you’re seeing in the error is part of Moment Timezone, which is an extension of the Moment.js library.

The fact that you tried adding the Moment plugin is a good step, but it seems there might be an issue with how Moment Timezone is being loaded, or it might be a version mismatch issue with the Air Calendar plugin and Moment.

Here’s what I recommend trying:

  1. Check Plugin Dependencies: Ensure that you’re using the Moment Timezone plugin in addition to the Moment.js plugin. This is because the Air Calendar plugin relies on the timezone features provided by Moment Timezone, which isn’t automatically included when you add just Moment.js. You can find it here.
  2. Clear Caching & Refresh: After installing the required plugins, clear your browser’s cache and refresh your page. Sometimes, older versions of libraries cached in the browser can interfere with the new versions being loaded.
  3. Check Version Compatibility: Ensure that the versions of both the Moment and Moment Timezone plugins are compatible with the Air Calendar plugin. It could be that one of them is outdated or not supported.
  4. Configure Moment Timezone: Once you’ve installed the Moment Timezone plugin, check that it’s correctly initialized in your app’s workflow, and that the timezone functionality is being used properly in your calendar settings.

Please note that we provide general support for our plugins and do not offer consultancy or customization services.

If you’re looking for a team to assist with customization , you can consider hiring Zeroqode. By sharing your project details and budget, one of our project managers will get back to you with an estimate.

Best Regards,
Anton

Browse all Zeroqode Plugins for Bubble
Banner_Last3

1 Like