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

Reminder date tokens should follow date formatting configured by site

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.2.6
    • Fix Version/s: 4.2.7
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      Rather than the default MySQL format of 2012-12-01 it should be the format configured by the site at: civicrm/admin/setting/date?reset=1

      With guidance from lobo I have edited the Core/BAO/ActionSchedule.php with new elseif{} cases for:
      start_date, end_date, activity_date_time and join_date

      Start date and end date apply to both events and memberships. I have tested all 3: events, memberships and activity to make sure the tokens work.

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              stoob Stoob
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: