From e0d4ddde6525f97933f1219eee3fa57ff1c27597 Mon Sep 17 00:00:00 2001
From: ray-wright <34744834+ray-wright@users.noreply.github.com>
Date: Thu, 15 Nov 2018 21:35:56 +1300
Subject: [PATCH] Add format type to Case Start and End Dates
---
CRM/Case/DAO/Case.php | 4 +++-
xml/schema/Case/Case.xml | 2 ++
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/CRM/Case/DAO/Case.php b/CRM/Case/DAO/Case.php
index 8eb08778b4..af1fe06f27 100644
--- a/CRM/Case/DAO/Case.php
+++ b/CRM/Case/DAO/Case.php
@@ -6,7 +6,7 @@
*
* Generated from xml/schema/CRM/Case/Case.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:2a046fd795b19790f45c5d9dde06a538)
+ * (GenCodeChecksum:6b30b1ce81c7eb8088cac1a630c41c37)
*/
/**
@@ -204,6 +204,7 @@ class CRM_Case_DAO_Case extends CRM_Core_DAO {
'localizable' => 0,
'html' => [
'type' => 'Select Date',
+ 'formatType' => 'activityDateTime',
],
],
'case_end_date' => [
@@ -222,6 +223,7 @@ class CRM_Case_DAO_Case extends CRM_Core_DAO {
'localizable' => 0,
'html' => [
'type' => 'Select Date',
+ 'formatType' => 'activityDateTime',
],
],
'details' => [
diff --git a/xml/schema/Case/Case.xml b/xml/schema/Case/Case.xml
index beeaaa9874..7487fc7b6c 100644
--- a/xml/schema/Case/Case.xml
+++ b/xml/schema/Case/Case.xml
@@ -133,6 +133,7 @@
Date on which given case starts.
Select Date
+ activityDateTime
1.8
@@ -145,6 +146,7 @@
Date on which given case ends.
Select Date
+ activityDateTime
1.8
--
2.25.1