[Vtigercrm-commits] [vtiger-commits] r5880 - /vtigercrm/trunk/modules/Calendar/Date.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Thu May 11 09:33:50 EDT 2006
Author: saraj
Date: Thu May 11 07:33:46 2006
New Revision: 5880
Log:
changes made for new calendar functionality
Modified:
vtigercrm/trunk/modules/Calendar/Date.php
Modified: vtigercrm/trunk/modules/Calendar/Date.php
==============================================================================
--- vtigercrm/trunk/modules/Calendar/Date.php (original)
+++ vtigercrm/trunk/modules/Calendar/Date.php Thu May 11 07:33:46 2006
@@ -1,15 +1,15 @@
<?php
class DateTime
{
- var $second;
- var $minute;
- var $hour;
- var $ms_hour;
+ var $second = '00';
+ var $minute = '00';
+ var $hour = '00';
+ var $z_hour = '00';
var $day;
- var $ms_day;
+ var $z_day;
var $week;
var $month;
- var $ms_month;
+ var $z_month;
var $year;
var $dayofweek;
var $dayofyear;
@@ -182,16 +182,16 @@
list(
$this->minute,
$this->hour,
- $this->ms_hour,
+ $this->z_hour,
$this->day,
- $this->ms_day,
+ $this->z_day,
$this->daysinmonth,
$this->dayofweek,
$this->dayofyear,
$is_leap,
$this->week,
$this->month,
- $this->ms_month,
+ $this->z_month,
$this->year,
$this->offset,
$this->tz,
@@ -255,11 +255,11 @@
}
function get_formatted_date()
{
- return $this->year."-".$this->ms_month."-".$this->ms_day;
+ return $this->year."-".$this->z_month."-".$this->z_day;
}
function get_formatted_time()
{
- return $this->ms_hour.":".$this->min;
+ return $this->z_hour.":".$this->min;
}
function get_changed_day($mode)
More information about the vtigercrm-commits
mailing list