projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
384432b
)
CRM/Core/BAO/File.php - Change 12-hour `Ymdhis` to 24-hour `YmdHis`
author
Tim Otten
<totten@civicrm.org>
Fri, 20 May 2016 00:54:32 +0000
(17:54 -0700)
committer
Tim Otten
<totten@civicrm.org>
Fri, 20 May 2016 00:54:32 +0000
(17:54 -0700)
CRM/Core/BAO/File.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Core/BAO/File.php
b/CRM/Core/BAO/File.php
index 7104b416a916e37866006f59e6213395341b0fb0..9514b2044bb82dd9438058ac010777be5dbeb01c 100644
(file)
--- a/
CRM/Core/BAO/File.php
+++ b/
CRM/Core/BAO/File.php
@@
-145,7
+145,7
@@
class CRM_Core_BAO_File extends CRM_Core_DAO_File {
$fileDAO->uri = $filename;
$fileDAO->mime_type = $mimeType;
$fileDAO->file_type_id = $fileTypeID;
- $fileDAO->upload_date = date('Ymd
h
is');
+ $fileDAO->upload_date = date('Ymd
H
is');
$fileDAO->save();
// need to add/update civicrm_entity_file
@@
-532,7
+532,7
@@
AND CEF.entity_id = %2";
$numAttachments = Civi::settings()->get('max_attachments');
- $now = date('Ymd
h
is');
+ $now = date('Ymd
H
is');
// setup all attachments
for ($i = 1; $i <= $numAttachments; $i++) {