Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 686609
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T02:02:30+00:00 2026-05-14T02:02:30+00:00

I’m currently using the jQuery fullcalendar plugin but I’ve came across an issue regarding

  • 0

I’m currently using the jQuery fullcalendar plugin but I’ve came across an issue regarding daylight savings time in Britain. After the daylight savings take effect the hours are being displayed an hour out of phase.

The problem appears to be with the plugins parsing function. Can someone please provide me with the funciton to parse a UTC string which includes the ‘Z’ demonination into a local date time for display?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T02:02:31+00:00Added an answer on May 14, 2026 at 2:02 am

    After some initial confusion (answers by me and Andy E and mainly my comments to his answer) which you probably missed anyway, I discovered what seems to be the real cause of your problem.

    The plugin internally uses the same code of the parseISO8601 function which was proposed by Andy E that comes from Parsing W3C’s ISO 8601 Date/Times in JavaScript.

    But although Andy E states that that code works without problems, the fullcalendar plugin, which uses that code too, seems to have a bug.

    After looking more closely at the code, I noticed that the plugin seems to ignore the timezone you are in.

    Compare these code snippets

    Snippet from original code from delete.me.uk

    if (d[14]) {
        offset = (Number(d[16]) * 60) + Number(d[17]);
        offset *= ((d[15] == '-') ? 1 : -1);
    }
    

    Code from fullcalendar.js

    if (!ignoreTimezone) {
        if (m[14]) {
            offset = Number(m[16]) * 60 + Number(m[17]);
            offset *= m[15] == '-' ? 1 : -1;
        }
        offset -= date.getTimezoneOffset();
    }
    

    As you can see the plugin only handles the timezone if ignoreTimezone is set to false. But that simply is never the case. parseISO8601() in this plugin is always called with ignoreTimezone set to true.

    Thus I bet the bug comes from this and you should consider contacting the author of the plugin. But first you should verify if the date gets parsed correctly if you set ignoreTimezone to false in the plugin code

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.