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 c02ebcc commit 2f5668dCopy full SHA for 2f5668d
imagekitio/url.py
@@ -113,7 +113,7 @@ def get_signature_timestamp(expiry_seconds: int = None) -> int:
113
"""
114
if not expiry_seconds:
115
return Default.DEFAULT_TIMESTAMP.value
116
- current_timestamp = int(dt.now().strftime("%s"))
+ current_timestamp = int(dt.now().timestamp())
117
118
return current_timestamp + expiry_seconds
119
0 commit comments