summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/saml2/time_util.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/saml2/time_util.py b/src/saml2/time_util.py
index 332d84bb..9eb4cec0 100644
--- a/src/saml2/time_util.py
+++ b/src/saml2/time_util.py
@@ -269,7 +269,7 @@ def utc_now():
def before(point):
- """ True if point datetime specification is before now.
+ """ True if current time is before point datetime specification.
NOTE: If point is specified it is supposed to be in local time.
Not UTC/GMT !! This is because that is what gmtime() expects.
@@ -286,7 +286,7 @@ def before(point):
def after(point):
- """ True if point datetime specification is equal or after now """
+ """ True if current time is after or equal to point datetime specification."""
if not point:
return True
else: