Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.5
-
Fix Version/s: 4.5
-
Component/s: Core CiviCRM
-
Labels:None
Description
The display of activity_date_time when viewing an existing activity is broken (it shows a none-sense date like "0th, 0 12:00 AM").
civicrm/activity?atype=1&action=view&reset=1&id=630&cid=202&context=activity&searchContext=activity
Did some investigating and it looks like we made some change (at Quickform level?? ) so that you can NOT use crmDate on the .html property of a frozen date field any longer (which is what you'll find in CRM/Activity/Form/Activity.tpl line 138):
{$form.activity_date_time.html|crmDate}
What works is this:
{$form.activity_date_time.value|crmDate}
Obviously we can change that template, but wondering if that's the right fix AND how to determine other places where this might have gotten broken. ????