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

  • SEARCH
  • Home
  • 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 8517427
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T05:41:54+00:00 2026-06-11T05:41:54+00:00

I have been working with the FullCalendar and came across some problems in Firefox.

  • 0

I have been working with the FullCalendar and came across some problems in Firefox. I have selectable on and the start date comes over in IETF format. For some reason, IE8 is able to post this (and autoconvert it to a timestamp), but Firefox won’t.

It leaves it in IETF format, and PHP’s date() function doesn’t work with it. I used the fullCalendar.formatDate() function as a work-around, but this doesn’t seem like the best solution to me.

Is there another way to make this work?

<script type='text/javascript'>
    $(document).ready(function () {
        var date = new Date();
        var calendar = $("#calendar").fullCalendar({
            theme: true,
            title: "Employee Calendar",

            header: {
                left: 'prev,next today',
                center: 'title',
                right: 'month,agendaWeek,agendaDay'
            },
            buttonIcons: {prev: 'circle-triangle-w', next: 'circle-triangle-e'},
            editable: true,
            droppable: true,
            events: '<?php echo matry::base_to('utilities/calendar_events');?>',
            eventClick: function (event) {
                $.ajax({
                    url: '<?php echo matry::base_to('utilities/calendar_tools');?>',
                    type: 'POST',
                    data: {id: event.id, job: 'getEvent'},
                    success: function(data){
                        $("#event_box").fadeIn(500);
                        $("#event_info").html(data);        
                    }
                });
            },
            selectable: true,
            selectHelper: true,
            select: function (start, end, allDay){                                    
                var title = prompt('Event Title');
                start = $.fullCalendar.formatDate(start, 'yyyy-MM-dd HH:mm:ss');
                end = $.fullCalendar.formatDate(end, 'yyyy-MM-dd HH:mm:ss');
                if (title)
                {
                    $.ajax({
                        type: 'POST',
                        url: '<?php echo matry::base_to('utilities/calendar_tools');?>',
                        data: {title: title, start: start, end: end, allDay: allDay, job: 'createEvent'},
                        success: function(data) {
                            calendar.fullCalendar('refetchEvents' );
                            $("#alerts").html(data);
                        }//close success function
                    })//close ajax
                }
                else 
                    calendar.fullCalendar('unselect');
            }//close select function
        }); //close fullcalendar function

        $("#calendar_controls").accordion({
            collapsible: true,
            clearStyle:true,
            active: false,
            autoHeight: true
        });//close calendar controls

        $(document).on('submit', '#event_form', function (event){
            event.preventDefault();
                $.ajax({
                    url: '<?php echo matry::base_to('utilities/calendar_tools');?>',
                    type: 'POST',
                    data: $('#event_form').serialize(),
                    success: function(data){
                        $("#event_box").fadeOut('2000');
                        $("#alerts").html(data).focus();
                    }
                })    
        });//close on function

        $(document).on('click', '#delete', function() {
            var con = confirm('Do you want to delete this Event?');
            if (con)
            {
                var id = $("#event_form input[name= 'id']").val();
                $.ajax({
                    url: '<?php echo matry::base_to('utilities/calendar_tools');?>',
                    data: {id: id, job: 'deleteEvent'},
                    type: 'POST',
                    success: function(data){
                        $("#alerts").html(data).focus()
                        calendar.fullCalendar('refetchEvents');
                        $("#event_box").fadeOut(1000);
                    ;}
                });
            }
        })
    }); //close document.ready function
</script>
  • 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-06-11T05:41:55+00:00Added an answer on June 11, 2026 at 5:41 am

    IETF date format doesn’t get passed correctly by firefox, but the date can be altered with the $.fullCalendar.formatDate() function that appears to work well. IF this is added wherever dates are passed, the format can be changed.

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

Sidebar

Related Questions

I have been working with some sort of validation in which i need to
I have been working on a project for some time now, and I decided
I have been working in C# for quite some time but come around this
Have been working on a Tower Defense game for iOS for some time now.
I have been working on this site for some time and just launched it
I have been working on the problems presented in Python Challenge . One of
I have been working on some legacy C++ code that uses variable length structures
I have been working with Struts for some time, but for a project I
We have been working on a project for several months without any problems until
I have been working on the problem sets at Project Euler for some time

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.