Giter Site home page Giter Site logo

fullcalendar-plugins's People

Contributors

escoand avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

blue-j

fullcalendar-plugins's Issues

Date Format Compatibility Issue with Radicale CalDAV Server

Description

I am encountering a date format compatibility issue when using the FullCalendar plugin with the Radicale CalDAV server. The plugin sends dates in the "YYYYMMDDTHHMMSS" format, which Radicale does not seem to accept, leading to a "400 Bad Request" error.

Environment

  • FullCalendar Version: v6.1.10
  • FullCalendar CalDAV Plugin Version: [the latest version from CDN]
  • Radicale Version: v2.1.12
  • Browser and Version: Edge v119.0.2151.72
  • Server: ubuntu (Cloud)
  • Reverse Proxy: NGINX

Steps to Reproduce

  1. Configure FullCalendar with the CalDAV plugin to connect to a Radicale CalDAV server.
  2. Attempt to fetch events from the server.
  3. Observe that the request fails with a "400 Bad Request" error.

Expected Behavior

The FullCalendar CalDAV plugin should format dates in a way that is compatible with common CalDAV servers like Radicale, or it should provide a way to configure the date format.

Actual Behavior

The plugin sends dates in the "YYYYMMDDTHHMMSS" format. Radicale seems to expect a different format, leading to a "400 Bad Request" error.

Additional Information

  • The problematic code is in the ICAL.Time.fromJSDate(arg.range.start).toICALString() function call, which formats the dates.
  • Radicale's logs indicate a "wrong date format" error.
  • I am using the plugin via CDN and cannot modify the source code directly.

Potential Solutions or Suggestions

  • Adjusting the plugin to use a more universally accepted date format for CalDAV servers, such as the extended format of ISO 8601.
  • Or, providing a configuration option in the plugin to specify the date format.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.