We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d2dcce commit f72e286Copy full SHA for f72e286
src/saml2/time_util.py
@@ -269,7 +269,7 @@ def utc_now():
269
270
271
def before(point):
272
- """ True if point datetime specification is before now.
+ """ True if current time is before point datetime specification.
273
274
NOTE: If point is specified it is supposed to be in local time.
275
Not UTC/GMT !! This is because that is what gmtime() expects.
@@ -286,7 +286,7 @@ def before(point):
286
287
288
def after(point):
289
- """ True if point datetime specification is equal or after now """
+ """ True if current time is after or equal to point datetime specification."""
290
if not point:
291
return True
292
else:
0 commit comments