Branch 'pykolab-0.4' - pykolab/auth
Jeroen van Meeuwen
vanmeeuwen at kolabsys.com
Thu Sep 13 17:44:06 CEST 2012
pykolab/auth/ldap/cache.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 7ff6970b4dc8a0e4f4b58c15ba2de649a2e1aa4a
Author: Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen at kolabsys.com>
Date: Wed May 9 11:58:44 2012 +0100
Return a timestamp according to the format required
diff --git a/pykolab/auth/ldap/cache.py b/pykolab/auth/ldap/cache.py
index 69c5d8d..8bdeebe 100644
--- a/pykolab/auth/ldap/cache.py
+++ b/pykolab/auth/ldap/cache.py
@@ -159,4 +159,4 @@ def last_modify_timestamp(domain):
if not last_change == None:
return last_change.last_change.strftime("%Y%m%d%H%M%SZ")
- return 0
+ return datetime.datetime(1900, 01, 01, 00, 00, 00).strftime("%Y%m%d%H%M%SZ")
More information about the commits
mailing list