[Vtigercrm-commits] [vtiger-commits] r6361 - /vtigercrm/trunk/modules/Calendar/Calendar.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Wed May 24 10:52:56 EDT 2006


Author: saraj
Date: Wed May 24 08:52:52 2006
New Revision: 6361

Log:
changes made to have default day start

Modified:
    vtigercrm/trunk/modules/Calendar/Calendar.php

Modified: vtigercrm/trunk/modules/Calendar/Calendar.php
==============================================================================
--- vtigercrm/trunk/modules/Calendar/Calendar.php (original)
+++ vtigercrm/trunk/modules/Calendar/Calendar.php Wed May 24 08:52:52 2006
@@ -139,19 +139,19 @@
 			$this->hour_format = 'am/pm';
 		else
 			$this->hour_format = $current_user->hour_format;
-		if($current_user->start_hour == '' || $current_user->end_hour)
+		/*if($current_user->start_hour == '' || $current_user->end_hour)
 		{
 			$this->day_start_hour = 8;
 			$this->day_end_hour = 18;
 		}
 		else
-		{
+		{*/
 			list($sthour,$stmin)= explode(":",$current_user->start_hour);
 			$hr = $sthour+0;
 			list($endhour,$endmin)=explode(":",$current_user->end_hour);
 			$this->day_start_hour=$hr;
 			$this->day_end_hour=$endhour;
-		}
+		//}
 		if ( $this->view == 'week')
 		{
 			$start_datetime = $this->date_time->getThisweekDaysbyIndex(0);





More information about the vtigercrm-commits mailing list