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

Views2 handlers for date arguments

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 2.2.6
    • Fix Version/s: 2.2.6
    • Labels:
      None

      Description

      This patch add handlers for date arguments in Views2. The current handler is insufficient as you need to massage the data before it is presented to the views core. These are model after the node creation date argument handlers and remove any offset for timezone Drupal may apply.

      this is discussed more here, http://forum.civicrm.org/index.php/topic,7534.0.html

      This will create 6 files that represent handlers for each of the following 6 formats, I will submit a patch to civicrm.views.inc next that calls on these handlers. Currently, you can expose 6 arguments per field, full date (YYYYMMDD), Year Month (YYYYMM), Year (YYYY), Day (DD), Month (MM), Week (WW).

        Attachments

          Activity

            People

            • Assignee:
              shailesh Shailesh Lende
              Reporter:
              jalama Jim Taylor
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: