Skip to content

Commit

Permalink
Fix misleading EPOCH comment.
Browse files Browse the repository at this point in the history
pallets#46

1/1/2011 cutoff was removed, but comment was not updated.
  • Loading branch information
Steve Perkins committed Jul 7, 2016
1 parent 32c01b7 commit 53f27ec
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions itsdangerous.py
Original file line number Diff line number Diff line change
Expand Up @@ -391,8 +391,7 @@ class TimestampSigner(Signer):
"""

def get_timestamp(self):
"""Returns the current timestamp. This implementation returns the
seconds since 1/1/2011. The function must return an integer.
"""Returns the current timestamp. The function must return an integer.
"""
return int(time.time())

Expand Down

0 comments on commit 53f27ec

Please sign in to comment.