From 2bdd4e9f378e495f771163930f558851d62d4ef0 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 4 May 2007 05:43:33 +0000 Subject: [PATCH] "fix for bug #139: Wrong timezone for created and modified in LDAP" --- addressbook/inc/class.so_ldap.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addressbook/inc/class.so_ldap.inc.php b/addressbook/inc/class.so_ldap.inc.php index 2080290971..79becdf1c3 100644 --- a/addressbook/inc/class.so_ldap.inc.php +++ b/addressbook/inc/class.so_ldap.inc.php @@ -890,7 +890,7 @@ class so_ldap */ function _ldap2ts($date) { - return mktime(substr($date,8,2),substr($date,10,2),substr($date,12,2), + return gmmktime(substr($date,8,2),substr($date,10,2),substr($date,12,2), substr($date,4,2),substr($date,6,2),substr($date,0,4)); }