[Vtigercrm-commits] [vtiger-commits] r9021 - /vtigercrm/trunk/include/utils/CommonUtils.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Fri Aug 18 08:19:57 EDT 2006
Author: richie
Date: Fri Aug 18 06:19:50 2006
New Revision: 9021
Log:
Converted the string Month into language in UpdateInfo - Ahmed
Modified:
vtigercrm/trunk/include/utils/CommonUtils.php
Modified: vtigercrm/trunk/include/utils/CommonUtils.php
==============================================================================
--- vtigercrm/trunk/include/utils/CommonUtils.php (original)
+++ vtigercrm/trunk/include/utils/CommonUtils.php Fri Aug 18 06:19:50 2006
@@ -1224,7 +1224,7 @@
$values=explode(' ',$modifiedtime);
$date_info=explode('-',$values[0]);
$time_info=explode(':',$values[1]);
- $date = $date_info[2].' '.date("M", mktime(0, 0, 0, $date_info[1], $date_info[2],$date_info[0])).' '.$date_info[0];
+ $date = $date_info[2].' '.$app_strings[date("M", mktime(0, 0, 0, $date_info[1], $date_info[2],$date_info[0]))].' '.$date_info[0];
$time_modified = mktime($time_info[0], $time_info[1], $time_info[2], $date_info[1], $date_info[2],$date_info[0]);
$time_now = time();
$days_diff = (int)(($time_now - $time_modified) / (60 * 60 * 24));
More information about the vtigercrm-commits
mailing list