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

Grant View Page : All date fields are displayed as 0th, 0 12:00 AM

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.1
    • Component/s: CiviGrant
    • Labels:
      None

      Description

      Currently, Grant/Form/Grant.php passes values to GrantView.tpl by simply freezing the form fields. Then we properly use the crmDate plugin to format the dates properly. However, this plugin doesn't handle frozen date field values - it's expecting DB formatted values. Both NULL and populated dates show up on the View Grant page like this:

      0th, 0 12:00 AM

      We can either create a GrantView.php which grabs values from the dataobject - OR I think we can reformat the date values in Grant.php when action is view.

        Attachments

          Activity

            People

            • Assignee:
              shot Piotr Szotkowski
              Reporter:
              dgg David Greenberg
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: