From 384432b0c8e805b2b4d138aa4915fa1205fbea22 Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Thu, 19 May 2016 17:54:32 -0700 Subject: [PATCH] CRM/Core/BAO/CustomGroup.php - Change 12-hour `Ymdhis` to 24-hour `YmdHis` --- CRM/Core/BAO/CustomGroup.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Core/BAO/CustomGroup.php b/CRM/Core/BAO/CustomGroup.php index bd804af104..0a9b3e78bc 100644 --- a/CRM/Core/BAO/CustomGroup.php +++ b/CRM/Core/BAO/CustomGroup.php @@ -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']; -- 2.25.1