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

Form date fields should be set in one step

XMLWordPrintable

    • MOODLE_38_STABLE

      Right now if you want to set a date or datetime field on a moodle form you need to set each part separately for example:

       When I set the following fields to these values:
            | id_startdate_day | 24 |
            | id_startdate_month | October |
            | id_startdate_year | 2015 |
      

      It would be much better if this could be done in one go:

       When I set the following fields to these values:
            | Start date | 24 October 2015 |
      

      This will both make the tests easier to follow and potentially make them more resilient to future implementation changes (for example in the future it is changed from individual elements to be a single date or datetime_local input element)

            Unassigned Unassigned
            nmagill Neill Magill
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

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