[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] api/db class.db_mysql.php, 1.1.1.1.2.1, 1.1.1.1.2.2 c
From: |
Joseph Engo <address@hidden> |
Subject: |
[Phpgroupware-cvs] api/db class.db_mysql.php, 1.1.1.1.2.1, 1.1.1.1.2.2 class.db_pgsql.php, 1.1.1.1.2.3, 1.1.1.1.2.4 |
Date: |
Wed, 29 Oct 2003 11:09:29 +0000 |
Update of /cvsroot/phpgroupware/api/db
In directory subversions:/tmp/cvs-serv13120/api/db
Modified Files:
Tag: proposal-branch
class.db_mysql.php class.db_pgsql.php
Log Message:
- Added in some experimental timezone and localization support
This has NOT been fully tested with windows or all versions of PHP.
Index: class.db_mysql.php
===================================================================
RCS file: /cvsroot/phpgroupware/api/db/class.db_mysql.php,v
retrieving revision 1.1.1.1.2.1
retrieving revision 1.1.1.1.2.2
diff -C2 -d -r1.1.1.1.2.1 -r1.1.1.1.2.2
*** class.db_mysql.php 23 Oct 2003 20:38:24 -0000 1.1.1.1.2.1
--- class.db_mysql.php 29 Oct 2003 11:09:26 -0000 1.1.1.1.2.2
***************
*** 146,150 ****
ereg('([0-9]{4})-([0-9]{2})-([0-9]{2})
([0-9]{2}):([0-9]{2}):([0-9]{2})',$timestamp,$parts);
! return
mktime($parts[4],$parts[5],$parts[6],$parts[2],$parts[3],$parts[1]);
}
--- 146,150 ----
ereg('([0-9]{4})-([0-9]{2})-([0-9]{2})
([0-9]{2}):([0-9]{2}):([0-9]{2})',$timestamp,$parts);
! return
gmmktime($parts[4],$parts[5],$parts[6],$parts[2],$parts[3],$parts[1]);
}
Index: class.db_pgsql.php
===================================================================
RCS file: /cvsroot/phpgroupware/api/db/class.db_pgsql.php,v
retrieving revision 1.1.1.1.2.3
retrieving revision 1.1.1.1.2.4
diff -C2 -d -r1.1.1.1.2.3 -r1.1.1.1.2.4
*** class.db_pgsql.php 28 Oct 2003 05:58:41 -0000 1.1.1.1.2.3
--- class.db_pgsql.php 29 Oct 2003 11:09:27 -0000 1.1.1.1.2.4
***************
*** 140,144 ****
ereg('([0-9]{4})-([0-9]{2})-([0-9]{2})
([0-9]{2}):([0-9]{2}):([0-9]{2})',$timestamp,$parts);
! return
mktime($parts[4],$parts[5],$parts[6],$parts[2],$parts[3],$parts[1]);
}
--- 140,144 ----
ereg('([0-9]{4})-([0-9]{2})-([0-9]{2})
([0-9]{2}):([0-9]{2}):([0-9]{2})',$timestamp,$parts);
! return
gmmktime($parts[4],$parts[5],$parts[6],$parts[2],$parts[3],$parts[1]);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] api/db class.db_mysql.php, 1.1.1.1.2.1, 1.1.1.1.2.2 class.db_pgsql.php, 1.1.1.1.2.3, 1.1.1.1.2.4,
Joseph Engo <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] api class.account_mgr.php, 1.1.2.10, 1.1.2.11 class.base.php, 1.1.1.1.2.9, 1.1.1.1.2.10 class.lang.php, 1.1.2.8, 1.1.2.9 class.phpgw.php, 1.1.1.1.2.12, 1.1.1.1.2.13 class.prefs.php, 1.1.1.1.2.3, 1.1.1.1.2.4
- Next by Date:
[Phpgroupware-cvs] api/skins/default account_mgr.xsl, 1.1.2.7, 1.1.2.8 phpgw.xsl, 1.1.1.1.2.17, 1.1.1.1.2.18 widgets.xsl, 1.1.1.1.2.8, 1.1.1.1.2.9
- Previous by thread:
[Phpgroupware-cvs] api class.account_mgr.php, 1.1.2.10, 1.1.2.11 class.base.php, 1.1.1.1.2.9, 1.1.1.1.2.10 class.lang.php, 1.1.2.8, 1.1.2.9 class.phpgw.php, 1.1.1.1.2.12, 1.1.1.1.2.13 class.prefs.php, 1.1.1.1.2.3, 1.1.1.1.2.4
- Next by thread:
[Phpgroupware-cvs] api/skins/default account_mgr.xsl, 1.1.2.7, 1.1.2.8 phpgw.xsl, 1.1.1.1.2.17, 1.1.1.1.2.18 widgets.xsl, 1.1.1.1.2.8, 1.1.1.1.2.9
- Index(es):