Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-9477

HTML QuickForm date selectors are limited to old years by default

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.4.0, 3.4.1, 3.4.2, 3.4.3, 3.4.4, 3.4.5, 3.4.6, 3.4.7, 3.4.8, 4.0.0, 4.0.1, 4.0.2, 4.0.3, 4.0.4, 4.0.5, 4.0.6, 4.0.7, 4.0.8, 4.1.0
    • Fix Version/s: 4.1.0
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      When you create a date selector using the HTML QuickForm package bundled with CiviCRM, it is limited to dates between 2001 and 2011 by default. In packages/HTML/QuickForm/date.php, see lines 57 and 58:

      'minYear' => 2001,
      'maxYear' => 2010,

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              kaldari Ryan Kaldari
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: