phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] property/class.boentity.php, 1.1.1.5


From: nomail
Subject: [Phpgroupware-cvs] property/class.boentity.php, 1.1.1.5
Date: Fri, 21 May 2004 18:39:34 -0000

Update of /property
Modified Files:
        Branch: 
          class.boentity.php

date: 2004/04/24 21:36:27;  author: sigurdne;  state: Exp;  lines: +2 -2

Log Message:
no message
=====================================================================
Index: property/class.boentity.php
diff -u property/class.boentity.php:1.1.1.4 property/class.boentity.php:1.1.1.5
--- property/class.boentity.php:1.1.1.4 Sat Apr 24 19:39:54 2004
+++ property/class.boentity.php Sat Apr 24 21:36:27 2004
@@ -298,7 +298,7 @@
 
                        $entity = $this->so->read_single($data);
                        $dateformat = 
$GLOBALS['phpgw_info']['user']['preferences']['common']['dateformat'];
-                       $entity['date']  = 
$GLOBALS['phpgw']->common->show_date($entity['date'],$dateformat);
+                       $entity['date']  = 
$this->bocommon->show_date($entity['date'],$dateformat);
 
                        if($entity['location_code'])
                        {
@@ -344,7 +344,7 @@
                                if($entity['attributes'][$i]['datatype']=='D' 
&& $entity['attributes'][$i]['value'])
                                {
                                        $timestamp_date= 
mktime(0,0,0,date(m,strtotime($entity['attributes'][$i]['value'])),date(d,strtotime($entity['attributes'][$i]['value'])),date(y,strtotime($entity['attributes'][$i]['value'])));
-                                       $entity['attributes'][$i]['value']      
= $GLOBALS['phpgw']->common->show_date($timestamp_date,$dateformat);
+                                       $entity['attributes'][$i]['value']      
= $this->bocommon->show_date($timestamp_date,$dateformat);
                                }
                                if($entity['attributes'][$i]['datatype']=='AB')
                                {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]