Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-7948

When using a date formatted question type in questionnaire, users receive a error stating the date format is incorrect

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.7.1
    • Fix Version/s: 3.9
    • Component/s: Module: Questionnaire
    • Labels:
      None
    • Affected Branches:
      MOODLE_37_STABLE
    • Fixed Branches:
      MOODLE_39_STABLE

      Description

      After a date is entered in the questionnaire on the date question, when the user saves the answer and move to the next question they receive this error message The date entered: 1/10/1999 does not correspond to the format shown in the example.

      There is a message next the date box that shows they would like the format to be Use the year-month-day format, e.g. for March 4th, 1945: 1945-03-04

      But it seems that the format that field is requiring is mm/dd/yyyy but when it saves the date it is putting the answer in dd/mm/yyyy format.

        Attachments

          Activity

            People

            Assignee:
            mchurch Mike Churchward
            Reporter:
            c.vaughn Crystal Vaughn
            Participants:
            Component watchers:
            Mike Churchward
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              15/Jun/20