mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 00:04:15 +02:00
[arch] improvement -> AUR: the index is not always being updated during the initialization process
This commit is contained in:
@@ -28,5 +28,5 @@ def size_to_byte(size: float, unit: str) -> int:
|
||||
return int(final_size)
|
||||
|
||||
|
||||
def datetime_as_milis(date: datetime) -> int:
|
||||
def datetime_as_milis(date: datetime = datetime.utcnow()) -> int:
|
||||
return int(round(date.timestamp() * 1000))
|
||||
|
||||
Reference in New Issue
Block a user