diff --git a/disco/util/snowflake.py b/disco/util/snowflake.py index 2fa915d..a1e041d 100644 --- a/disco/util/snowflake.py +++ b/disco/util/snowflake.py @@ -21,7 +21,7 @@ def to_unix_ms(snowflake): def from_datetime(date): - return from_timestamp(int(date.isoformat('%s'))) + return from_timestamp(int(date.strftime('%s'))) def from_timestamp(ts):