Add date metadata for email.on_hold, reset_date
authorEileen McNaughton <emcnaughton@wikimedia.org>
Mon, 23 Aug 2021 22:20:30 +0000 (10:20 +1200)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Mon, 23 Aug 2021 22:20:30 +0000 (10:20 +1200)
CRM/Core/DAO/Email.php
xml/schema/Core/Email.xml

index d72c3b3b85632d661fc5567ef22ebce50158687d..53180904db033beeceb840955006fe9afdb71c4b 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Email.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:84e4a7efb791b5e3ed3b7d7fc9e21a09)
+ * (GenCodeChecksum:7e30aa415b50a25add79b9553b5d7657)
  */
 
 /**
@@ -320,6 +320,8 @@ class CRM_Core_DAO_Email extends CRM_Core_DAO {
           'bao' => 'CRM_Core_BAO_Email',
           'localizable' => 0,
           'html' => [
+            'type' => 'Select Date',
+            'formatType' => 'activityDateTime',
             'label' => ts("Hold Date"),
           ],
           'add' => '1.1',
@@ -335,6 +337,8 @@ class CRM_Core_DAO_Email extends CRM_Core_DAO {
           'bao' => 'CRM_Core_BAO_Email',
           'localizable' => 0,
           'html' => [
+            'type' => 'Select Date',
+            'formatType' => 'activityDateTime',
             'label' => ts("Reset Date"),
           ],
           'add' => '1.1',
index 00ab390502f4cd1125f1668804939592dd5c2548..ddb0678f61fdf16c73750f15b34cdff2a4dae364 100644 (file)
     <comment>When the address went on bounce hold</comment>
     <html>
       <label>Hold Date</label>
+      <type>Select Date</type>
+      <formatType>activityDateTime</formatType>
     </html>
     <add>1.1</add>
   </field>
     <comment>When the address bounce status was last reset</comment>
     <html>
       <label>Reset Date</label>
+      <type>Select Date</type>
+      <formatType>activityDateTime</formatType>
     </html>
     <add>1.1</add>
   </field>