Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-574

a parse error in javascript function "isFutureDate" of file "addPersonForm.jsp"

    XMLWordPrintable

    Details

    • Complexity:
      Low

      Description

      In function "isFutureDate(birthdate)", when "datePatternStart == 'y'" (/YYYY-MM-DD/), i think should be "month = birthdate.substr(5, 2);", not currently "month = birthdate.substr(3, 2);". May be a small error?

        Attachments

          Activity

            People

            Assignee:
            luzhuangwei Zhuangwei Lu [X] (Inactive)
            Reporter:
            luzhuangwei Zhuangwei Lu [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: