Civi/Core/SettingsBag.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)
Civi/Core/SettingsBag.php

index f769dc3278adf1c0d5298e04549b2ee08bc662b1..c8904e8158e9965deb68d47057498cf795b5e168 100644 (file)
@@ -378,7 +378,7 @@ class SettingsBag {
       $dao->group_name = 'placeholder';
     }
 
-    $dao->created_date = \CRM_Utils_Time::getTime('Ymdhis');
+    $dao->created_date = \CRM_Utils_Time::getTime('YmdHis');
 
     $session = \CRM_Core_Session::singleton();
     if (\CRM_Contact_BAO_Contact_Utils::isContactId($session->get('userID'))) {