[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: calendar/inc hook_home.inc.php,1.31.2.2,1.31.2.3
From: |
Mark A Peters <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: calendar/inc hook_home.inc.php,1.31.2.2,1.31.2.3 |
Date: |
Sun, 23 Jun 2002 16:29:43 -0400 |
Update of /cvsroot/phpgroupware/calendar/inc
In directory subversions:/tmp/cvs-serv26183
Modified Files:
Tag: Version-0_9_14-branch
hook_home.inc.php
Log Message:
GNU Bug #438. This should standardize all to use the dattime class for
consistency.
Index: hook_home.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/calendar/inc/hook_home.inc.php,v
retrieving revision 1.31.2.2
retrieving revision 1.31.2.3
diff -C2 -r1.31.2.2 -r1.31.2.3
*** hook_home.inc.php 23 Apr 2002 02:46:56 -0000 1.31.2.2
--- hook_home.inc.php 23 Jun 2002 20:29:41 -0000 1.31.2.3
***************
*** 26,31 ****
{
$GLOBALS['phpgw']->translation->add_app('calendar');
! $time = time() - ((60*60) *
intval($GLOBALS['phpgw_info']['user']['preferences']['common']['tz_offset']));
! $GLOBALS['date'] =
$GLOBALS['phpgw']->common->show_date($time,'Ymd');
$GLOBALS['g_year'] = substr($GLOBALS['date'],0,4);
$GLOBALS['g_month'] = substr($GLOBALS['date'],4,2);
--- 26,35 ----
{
$GLOBALS['phpgw']->translation->add_app('calendar');
! if(!is_object($GLOBALS['phpgw']->datetime))
! {
! $GLOBALS['phpgw']->datetime =
CreateObject('phpgwapi.datetime');
! }
!
! $GLOBALS['date'] =
date('Ymd',$GLOBALS['phpgw']->datetime->users_localtime);
$GLOBALS['g_year'] = substr($GLOBALS['date'],0,4);
$GLOBALS['g_month'] = substr($GLOBALS['date'],4,2);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: calendar/inc hook_home.inc.php,1.31.2.2,1.31.2.3,
Mark A Peters <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: calendar/inc class.bocalendar.inc.php,1.71.2.6,1.71.2.7 class.socalendar.inc.php,1.22.2.2,1.22.2.3 class.uicalendar.inc.php,1.66.2.15,1.66.2.16 class.socalendar__.inc.php,1.11,1.11.2.1 class.socalendar_sql.inc.php,1.28,1.28.2.1 class.holidaycalc_JP.inc.php,1.1.2.1,1.1.2.2 class.holidaycalc_US.inc.php,1.5.2.2,1.5.2.3
- Next by Date:
[Phpgroupware-cvs] CVS: calendar/inc class.boholiday.inc.php,1.10,1.10.2.1 class.soholiday.inc.php,1.2,1.2.2.1
- Previous by thread:
[Phpgroupware-cvs] CVS: calendar/inc class.bocalendar.inc.php,1.71.2.6,1.71.2.7 class.socalendar.inc.php,1.22.2.2,1.22.2.3 class.uicalendar.inc.php,1.66.2.15,1.66.2.16 class.socalendar__.inc.php,1.11,1.11.2.1 class.socalendar_sql.inc.php,1.28,1.28.2.1 class.holidaycalc_JP.inc.php,1.1.2.1,1.1.2.2 class.holidaycalc_US.inc.php,1.5.2.2,1.5.2.3
- Next by thread:
[Phpgroupware-cvs] CVS: calendar/inc class.boholiday.inc.php,1.10,1.10.2.1 class.soholiday.inc.php,1.2,1.2.2.1
- Index(es):