summaryrefslogtreecommitdiff
path: root/pykolab
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-05-09 10:58:44 (GMT)
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-05-09 10:58:44 (GMT)
commit3d94ae66d7d8eca5e516c45d59d878d214843f7e (patch)
tree675603d80d415bfa49c1da1cc65cbab13be8375d /pykolab
parent73e71902fe8f27cbb25d5a62f01c417bb84c3432 (diff)
downloadpykolab-3d94ae66d7d8eca5e516c45d59d878d214843f7e.tar.gz
Return a timestamp according to the format required
Diffstat (limited to 'pykolab')
-rw-r--r--pykolab/auth/ldap/cache.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pykolab/auth/ldap/cache.py b/pykolab/auth/ldap/cache.py
index 30f87fe..844c3cf 100644
--- a/pykolab/auth/ldap/cache.py
+++ b/pykolab/auth/ldap/cache.py
@@ -158,4 +158,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")