"fix for bug #139: Wrong timezone for created and modified in LDAP"

This commit is contained in:
Ralf Becker 2007-05-04 05:43:33 +00:00
parent ec4db98936
commit 2bdd4e9f37

View File

@ -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));
}