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

Patch QuickForm (or our code) so it supports non-default date formats

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 2.0
    • Fix Version/s: Unscheduled
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      Currently, QuickForm doesn't seem to support date/time drop-downs for non-default date/time elements (like %E, %m, %H, etc.).

      As we allow the users to set these in the config, we should support them in the drop-downs.

      My gut feeling is that it's simply a matter of fixing/extending the switch statement in HTML_QuickForm_date::_createElements().

      I'd much rather we have this fixed in CiviCRM 2.1. Assigning to Michał, as my plate is a bit full at the moment.

        Attachments

          Activity

            People

            • Assignee:
              mover Michał Mach
              Reporter:
              shot Piotr Szotkowski
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: