[Vtigercrm-commits] [vtiger-commits] r6011 - /vtigercrm/trunk/modules/Calendar/Appointment.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Mon May 15 22:58:27 EDT 2006
Author: saraj
Date: Mon May 15 20:58:24 2006
New Revision: 6011
Log:
changes made for calendar functionality
Modified:
vtigercrm/trunk/modules/Calendar/Appointment.php
Modified: vtigercrm/trunk/modules/Calendar/Appointment.php
==============================================================================
--- vtigercrm/trunk/modules/Calendar/Appointment.php (original)
+++ vtigercrm/trunk/modules/Calendar/Appointment.php Mon May 15 20:58:24 2006
@@ -181,9 +181,17 @@
}
$this->record = $act_array["activityid"];
if($view == 'day' || $view == 'week')
+ {
+ if($st_hour <= 9 && strlen(trim($st_hour)) < 2)
+ {
+ $st_hour= '0'.$st_hour;
+ }
$this->formatted_datetime= $act_array["date_start"].":".$st_hour;
+ }
else
+ {
$this->formatted_datetime= $act_array["date_start"];
+ }
return;
}
More information about the vtigercrm-commits
mailing list