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

Create course startdate and enddate API functions

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • DEV backlog
    • Course

      Start and end course dates are initialised in different places (course form, upload, approve requests, external database enrolment, any plugin creating courses...)... But with current API, current get_default_course_enddate() function couldn't be used, because its dependency to the mform.

      So it's necessary to create a better course API to get default startdate and enddate. That API will include all the logic (different by course formats, midnight time, duration...) and will be used everywhere these dates are initialised now, to make them more coherent along the site.

            Unassigned Unassigned
            sarjona Sara Arjona (@sarjona)
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.