CRM/Core/BAO/CustomGroup.php - Change 12-hour `Ymdhis` to 24-hour `YmdHis`
authorTim Otten <totten@civicrm.org>
Fri, 20 May 2016 00:54:32 +0000 (17:54 -0700)
committerTim Otten <totten@civicrm.org>
Fri, 20 May 2016 00:54:32 +0000 (17:54 -0700)
CRM/Core/BAO/CustomGroup.php

index bd804af104e9a532c6bc1648f775b06eff4fba7c..0a9b3e78bc6d607891b7738cf398dd56aa12967a 100644 (file)
@@ -1517,7 +1517,7 @@ ORDER BY civicrm_custom_group.weight,
 
             //store the file in d/b
             $entityId = explode('=', $groupTree['info']['where'][0]);
-            $fileParams = array('upload_date' => date('Ymdhis'));
+            $fileParams = array('upload_date' => date('YmdHis'));
 
             if ($groupTree[$groupID]['fields'][$fieldId]['customValue']['fid']) {
               $fileParams['id'] = $groupTree[$groupID]['fields'][$fieldId]['customValue']['fid'];