Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-47571

add support for DURATION when importing iCalendar events

    XMLWordPrintable

Details

    • Bug
    • Status: Reopened
    • Minor
    • Resolution: Unresolved
    • 2.8
    • BACKEND
    • Calendar
    • MOODLE_28_STABLE
    • Hide

      Attempt to import a .ics file that contains VEVENT entries which use DURATION instead of DTEND to mark the end of the event (An example file is attached). They should import with the proper duration instead of defaulting to an hour.

      Show
      Attempt to import a .ics file that contains VEVENT entries which use DURATION instead of DTEND to mark the end of the event (An example file is attached). They should import with the proper duration instead of defaulting to an hour.

    Description

      The code that imports events from .ics files does not use the DURATION property if present. Instead, if DTEND is missing from the event, it is assumed to have a duration of one hour.

      Not sure if this should be classified as a bug or not, as DURATION is part of the RFC2445 spec that Bennu appears to support.

      Attachments

        Issue Links

          Activity

            People

              moodle.com moodle.com
              tfeiler Thomas Feiler
              Simey Lameze Simey Lameze
              Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: