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

Form date fields should be set in one step

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.8
    • Fix Version/s: None
    • Labels:
      None
    • Affected Branches:
      MOODLE_38_STABLE

      Description

      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)

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            nmagill Neill Magill
            Participants:
            Component watchers:
            Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: